Actor keeps moving when touch is pressed! How do I have action only perform one time on touch? [FB]
Hi there,
I'm new to GameSalad, I've looked through several pages of the forums and I couldn't find an article that addressed this specifically.
I'm making a Flappy Bird clone (please forgive me and keep reading), when touch is pressed the bird is set to move to self.Position.Y+15
But, he holds that position as long as touch is held down, until touch is released. So a user could "cheat" by just holding down touch, and the bird doesn't fall.
How do I make it so he only gets a one time boost?
I've played around with interpolate self.Position.Y and change attribute self.Position.Y, and the bird jumps up to the new position, but goes right back down almost immediately - it doesn't seem correct.
Here's a screeshot of my rule if it helps:
http://screencast.com/t/8mEjqwB64sZ2
Thanks in advance for your help!