Have actor respond to swipe commands
csmyth18
Member Posts: 8
I need an actor to move a certain distance based on the strength of a swipe and also to follow the direction of the swipe command (similar to in golfing games where you swipe a ball to go somewhere). The game is with a character jumping from platform to platform (freerunning) and I need the actor to respond well to a swipe command. Please comment if you know how to do this. Thanks for your help.
Comments
@Armelline has posted a snippet with all necessary infos.
"The Swipe Factory" --> http://armelline.com/snippets.html (Actor "Touch Area")
Instead of refreshing the UI, just use the values to let your actor jump.