Swipe to touch multiple actors

Sorry, fairly new here at Gamesalad. Been looking for answers for my topic above but to no avail. Basically i need help with a swipe function to touch multiple actors when the swipe goes over it. Good example will be like fruit ninja where you can swipe over multiple fruits at once to touch the fruits. Some tutorials, templates or videos will be a big help!

Comments

  • ellucoelluco Member Posts: 7
    Awesome! Thanks! What if i want the swipe to be in one direction only? As now it's like i can keep on swiping all my actors without letting go of the screen.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    You'll have to use a combination of techniques. Checkout the GShelper video on swipe which will show you how to calculate the direction. Then you'll have to design a lockout for that direction only.
  • ellucoelluco Member Posts: 7
    Alright will do. Thanks a bunch! :)
  • ellucoelluco Member Posts: 7
    @FryingBaconStudios have designed the swipe direction calculation but can't seem to get the lockout part figured out. Help?
Sign In or Register to comment.