Quote: Are you going to implement jumping or just falling? I can try myself, but this code makes my eyes pop out.
You'll have to implement jumping in the 'player_gravity()' function. That's where to start. I'm not going to implement it. But you can check out my Zelda script for ideas: