Hi,
I made this simple example to anyone who want to detect swipe moves on their mobile devices.
Test here
Download Capx
It's pretty simple and it should be easy to continue from there. I hope somebody finds it useful with their projects.
Develop games in your browser. Powerful, performant & highly capable.
thanks a lot
wow, nice example.
Thanks nemo :)
Thank you very much!
Awesome!! Thanks for sharing!!
404 on the capx? :(
I would also recommend putting this up on the tutorials page, since it's a fist and works well.
Thanks!
Same here, I can't find the .capx-file?
Aaarrrghh!!!!
Sorry about that.
I fixed the broken link.
Cool!
Nice work! If you wanted to extend on that for different directions, you can use AngleAt
e.g.
On Touch(0) End
--> -45<touch.AngleAt(0)<45 => Set Text 'Right'
--> 45<touch.AngleAt(0)<135 => Set Text 'Down'
etc....
Broken links, anyone got the files and would like to email them to me ?
Cheers !!
404 not found .... :(
Hi nemo,
I'd really like to take a look, but I'm getting a 404 error. Any chance you could upload again?
Thanks
EyeHawk, I've been putting together my own swipe example, using the AngleAt expression.
I used the calculation you mentioned above to increase the recognisable range of each angle. But it doesn't appear to be working, any ideas :)