i should really have added a jump allowance when the player left the ground, i thought it would make the game easier so i didnt add it. i guess it was a big mistake that i need to learn from.