Can someone show me how to detect on an Android:
swipe right
swipe left
swipe up
swipe down
Thanks,
David
Android Swipe motions - Solved
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Android Swipe motions - Solved
Last edited by DR White on Thu Oct 15, 2015 2:12 am, edited 1 time in total.
Re: Android Swipe motions
Hi David,
I haven't got experience with android but I think that is the same as iOS.
I use something like this :
Best regards
Jean-Marc
I haven't got experience with android but I think that is the same as iOS.
I use something like this :
Code: Select all
--•• swipe horizontal
local sMslMdX
on mousedown
put the mouseh into sMslMdX
end mousedown
on mouseup
get the mouseh
if it-80 > sMslMdX then
--doMyGoLeft -- or what you want
end if
if it + 80 < sMslMdX then
--doMyGoRight -- or what you want
end if
end mouseup
on mouserelease
mouseup
end mouserelease
Jean-Marc
https://alternatic.ch
Re: Android Swipe motions - Solved
Jean-Marc,
That works GREAT!!!
Thanks SOO MUCH,
David
That works GREAT!!!
Thanks SOO MUCH,
David