It looks like you're new here. If you want to get involved, click one of these buttons!
Likes: RogerT, Ozzan, jouderianjr
local function onTouchesBegin(event) local isTwoFinger = (#event.allTouches == 2) end
Comments
I think the easiest way is the control the length of event.allTouches array. If it is 2, then exactly 2 fingers is touching the screen.
btw yes i checked the example Touch Explorer...
i also checked the api documentation but no info on the array event.allTouches or event.touches
wow! my first gideros game is almost finished!
thanks atilim!
www.tntengine.com
Yes, the reference manual doesn't contain information about events. But you can refer here: http://www.giderosmobile.com/documentation/events.html
for you help
but i think that gideros need a bit more "in deep" docs because without your help i never figured the existence of event.allTouches
ciao ciao
Gianluca.
www.tntengine.com
but you never sleep? :-O
good night! I-)
www.tntengine.com