How can i make my actor move just one step/press.

tarabah_omartarabah_omar Member Posts: 1
edited August 2016 in Working with GS (Mac)

I'm building a game thats similar to flappy bird.When i press for my character to jump it keeps going up if im still on pressing on the button.I want my actor to move once per press no matter how long the press was.Any solutions please?

Answers

  • -Timo--Timo- Member Posts: 2,313
    edited August 2016

    When mouse button down
    Change self.motion.lineair velocity.Y to 200 (or something like that)

    And dont forget to add Gravity with acceleration behavior

Sign In or Register to comment.