I'm making a game in wich the charictar can jump. To jump i set is so when space is pressed i set the linv for 3 in the third column. The problem is that once you jump, you can continue to press space and you can make your charictar fly. is there any way i can make it so you have to be on the ground to jump or have to have hit the ground to be able to jump again?
I’m not up on python yet but i’m thinking allong the lines of when you jump it sets a value to 1 and when you hit the ground it sets the value to 0 and in order to jump that value must be 0 (or <1 whatever)