Hi guys
Is there an easy way to enable multitouch in Gideros.
I need to be able to touch a sprite while a finger is already touching the screen/another sprite.
Im currently using MOUSE_DOWN.
I tried looking around but can't find anything relevant to what I'm looking for.
Thank you for any help
Comments
Is that the one you mean?
Likes: SinisterSoft
What device are you testing it on?
https://deluxepixel.com
I just can't get it working when I try to setup the listener inside the class itself.
PS. Galaxy S3 (old lol)
https://deluxepixel.com
event.allTouches[i]
I didn't check this, but I believe that event.touch.x and event.touch.y are related only to the first touch and these should be equal to event.allTouches[1].x and event.allTouches[1].y
https://deluxepixel.com
Have a look and you should see how this works.
Note, it does not handle overlapping items.
Thank heaps for putting together an example, I really appreciate the effort!
I will have a good look at it and let you know how it goes