Jump

rftimoteorftimoteo Member Posts: 9
edited April 2014 in Working with GS (PC)

Hello,

I have an actor which jumps by swiping up. This is achieved as follows:

Rule:

If game.Up > 50 (and self.Jump > 0)

Change Velocity (and change self.Jump to 0)

However if I swipe up off screen the actor jumps repeatedly until a touch is pressed again.

Is there any way to overcome this? I've tried adding a new rule that says if game.Up > 200, change game.Up to false but it was not perfect as it did not cover all player actions.

Can I have any help?

Thank you.

Sign In or Register to comment.