Swipe jump mechanic

hamarohamaro Member Posts: 31
edited October 2012 in Working with GS (Mac)
I've done a swipe to jump ones mechanic, but my problem is that i can jump again in the air before my actor lands.
I need a mechanic that don't allow my actor to jump again untill it have landed, even if the player is spam swiping.
If you swipe up, actor jumps.

Any tip is welcome!

Comments

  • 921creative921creative Member, PRO Posts: 140
    When the user swipes, change a game attribute like Swiped to true. When actor lands, change Swiped to false. Only allow a swipe when attribute Swiped = false.
Sign In or Register to comment.