How to program jumping into a platformer game?
Sheldonkw
Member Posts: 25
I want to create a platformer which shouldn't be much of a problem. I want the jump action to be like it is in the original mario games or somewhat close to it. Right now I have it set that when the player presses the jump button it changes the vertical velocity to a value which works fine except for a few things. When the actor is standing still he can jump much higher than he can when he is moving. But after the first jump while moving he starts jumping higher again. I can't figure out a way to make the actor jump consistently. You can look at the platformer template and you will see that the actor there does the same thing. Does anyone have a good way to program good jumping?
Comments
good luck!
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮
http://www.jamie-cross.net/?portfolio=gamesalad-recipe-004-advanced-platform-character-movement-featuring-double-jumping
if you're interested
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page