Help in Jumping function!
glitt3R
Member Posts: 1
I'm working on creating a clone game for Super Mario Bros to upload it on Apknite and make money from it.
So I want to make it so my character can only jump on the ground and platforms.
I tried watching tutorials but they were all using the Mac version. I'm making a platformer, and I don't want to be able to just keep jumping in the air.
Comments
the logic from the mac tutes should still be accurate for the pc and online version.
Something like:
If jump button is pressed AND player is touching ground allow jump.
That is clearly not actual behaviors but hopefully helps.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page