hey, i want to create a "dash" for my platform character,
i want the player to touch the character and then swipe right to dash right and swipe up to dash up
On touched object, set variable to object.x
Is touching object
->on any touch end
-->touch.x> variable, do foo... cause thats a swipe to the right.
Develop games in your browser. Powerful, performant & highly capable.
Thanks!
But i found this CAPX that easily registers the first touch and last touch and gives you back the X and Y swipes...
Try it people, it's super easy!.