how to use swipe

developer6810developer6810 Member Posts: 139
edited July 2012 in Working with GS (Mac)
I want to incorporate swipe behaviors into my game but only for if they swipe at an actor, it disappears, nothing else like moving an actor or anything like that.

Best Answer

  • LiquidGameworksLiquidGameworks Anchorage, AKPosts: 956
    Accepted Answer
    I would think you could use a rule that says if "swipe is true" AND "touch is pressed"

Answers

  • developer6810developer6810 Member Posts: 139
    Also, I found two swipe videos on youtube but not sure which one to use.
  • developer6810developer6810 Member Posts: 139
    rephrased the question
  • LiquidGameworksLiquidGameworks Anchorage, AKMember, Sous Chef Posts: 956
    The videos will show you how to register if a swipe has happened. All you have to do is tell your actor what to do if swipe=true. So, destroy, change alpha, or whatever you want to do.
  • developer6810developer6810 Member Posts: 139
    @LiquidGameworks

    What if you wanted a behavior to be triggered only if the swipe occurs in a certain place on the screen (I mean like only if they swipe an actor)?
  • developer6810developer6810 Member Posts: 139
    thanks
Sign In or Register to comment.