Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Android / How to detect swiping the touch screen

Author
Message
ApkGames.Guru
10
Years of Service
User Offline
Joined: 25th Oct 2013
Location: England, UK
Posted: 24th Aug 2014 19:04
First of all, I'd like to say thanks to 'Daniel TGC', who posted a few years ago some code that uses standard AppGameKit functions to detect what direction a user swiped.

This has been taken a little further. As you know, there is not standard commands to check for swipe, you have to code it. A friend of mine from http://www.puddleduckappware.co.uk has refined Daniel's code more, making it less, quicker and also checking for multi-directional swipes. Yes, not just up, down, left or right, but diagonal too




Cheers, Ian.

http://www.zortokgames.com


www.zortokgames.com
Retrific
9
Years of Service
User Offline
Joined: 26th Aug 2014
Location: Horwich, UK
Posted: 26th Aug 2014 16:55
Thank you very much. I have found this code very useful.

Login to post a reply

Server time is: 2024-04-20 02:29:58
Your offset time is: 2024-04-20 02:29:58