Swipe Problem

Piero1987Piero1987 Member Posts: 38
edited November -1 in Working with GS (Mac)
Hello, i have an actor that when i swipe left to right make a movement, and when right to left make another movement, but if i swipe to right repeat continously the movement, but i want make the movement only one time when i swipe and i don't want repeat the movement till i swipe another time, the same thing when i swipe left...ho i can do?

Comments

  • EastboundEastbound Member, BASIC Posts: 1,074
    I'm afraid I need a little more info on this one, I don't really understand what's wrong.
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    so you want it to stop after each swipe? sounds like you need to do a change velocity rule on release but as eastbound said we're gonna need some more info to really help.
  • Piero1987Piero1987 Member Posts: 38
    ok, so i'll do an example, when i swipe left to right, my actor jump, so in the rule to recognize the left to right swipe i put a display text behaviour in which print on the screen when i swipe, now, when i swipe the actor jump, and it's ok, but continue to jump, arrive at ground and jump arrive at ground and jump, and the display text print the left to right movemente, but i make only one time the left to right swipe, how i can do the jump only one time?...only when i swipe...seems that the attribute where the recognition of the swipe is saved it's locked, i can clear the attribute once they move? ... so it is always empty I do not know ...

    sorry for my english, i'm italian
  • Piero1987Piero1987 Member Posts: 38
    help:(
Sign In or Register to comment.