Jump to content

onFloor() help?


Heppell08
 Share

Recommended Posts

In my game i have it very physics based. I flip the gravity so the player is then walking on the underside of the tilemap. My problem is this:

 

I want the jump function to work the same as normal with the onFloor() but it doesnt work when i flip the gravity around and walk on the underside.

 

I have a timer stopping it from being spammed but its also not worth increasing that timer too a high number because some jumps are quicker than others and would require the player to physically wait before the timer would reset and allow jumping.

 

Is there a way to use touching.up or something similar?

 

Thanks :)

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...