Does anyone have any code that can recognise simple swiping gestures?
matt [import]uid: 8271 topic_id: 4384 reply_id: 304384[/import]
Does anyone have any code that can recognise simple swiping gestures?
matt [import]uid: 8271 topic_id: 4384 reply_id: 304384[/import]
Hi,
Just as Matt, I would like to know if it is possible to implement gesture recognition with corona? Is there a library? I am currently developing a game and I need this feature…
Thanks in advance,
Far [import]uid: 38345 topic_id: 4384 reply_id: 27130[/import]
Hi
download Ghost and Monsters from Corona Code Exchange ( http://developer.anscamobile.com/code/ghosts-vs-monsters ) . If You look at code level1.lua in line 1077 You can find line:
local onScreenTouch = function( event )
Simple swype part is:
elseif event.phase == “ended” and ghostObject.isReady == false and ghostObject.inAir == false and canSwipe == true then …
in line 1128
Regards [import]uid: 12704 topic_id: 4384 reply_id: 27132[/import]
Hi,
I dont’ know about anyone else but I’m looking for actual shaped gesture recognition. However, once I’ve got the bugs (sorry!) out of my updated version of the Sanitised Touch Library, I’ll be working on a gesture recognition concept I’ve been thunkin’ on.
m [import]uid: 8271 topic_id: 4384 reply_id: 27171[/import]
Hi, thanks for your answer. In android development, I know there is a library which allows you to draw a “Y” on the screen and the program will recognize that it is is indeed a “Y” you tried to draw.
That is more elaborated gesture recognition… I thnik there is nothing like that in Corona yet. [import]uid: 38345 topic_id: 4384 reply_id: 27263[/import]
Just thought I’d let everyone know that I’ve updated the Sanitise Touch Library, so that now the code itself is sanitised and works rather more easily and reliably.
http://developer.anscamobile.com/code/sanitised-touch-library
matt [import]uid: 8271 topic_id: 4384 reply_id: 27375[/import]
What do You think about this?
http://www.youtube.com/watch?v=3_bEvJVjaaY
sorry for iShowU demo version… First program find on google to capture screen [import]uid: 12704 topic_id: 4384 reply_id: 27840[/import]