Help in Jumping function!

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

  • bob loblawbob loblaw Member, PRO Posts: 793

    the logic from the mac tutes should still be accurate for the pc and online version.

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    Something like:

    If jump button is pressed AND player is touching ground allow jump.

    That is clearly not actual behaviors but hopefully helps.

Sign In or Register to comment.