The problem is that this distance_to_ground gravity method doesn't work for me. I keep manipulating all the values and tried many stuff, but many times the player keeps flying or ascending upwards. And even the video_screen variable makes some bugs in gravity although it shouldn't be related to all that .....

I think I need another kind of gravity/jumping code frown ....


Nothing to say ....