Can someone please explain how touches.count works
actordude
Member Posts: 27
I have a game with simple left right and jump controls.
I need to enable multitouch on my phone but dont get how the touches count works as i have tried many ways.
Tried to download t shirt booths demo but it fails to d/load. Did dowload the codemonkeys demo but dont get how they are using touches count ...anyone please help..
thanks so much for reading this far
clive x
I need to enable multitouch on my phone but dont get how the touches count works as i have tried many ways.
Tried to download t shirt booths demo but it fails to d/load. Did dowload the codemonkeys demo but dont get how they are using touches count ...anyone please help..
thanks so much for reading this far
clive x
Comments
http://www.deepblueapps.com/multi-touch-demos/
here's a tutorial
http://www.youtube.com/watch?feature=player_embedded&v=yD5C8VTlfs8#!
BTW - Google is your friend
The total count of touches does not specify which specific touch X/Y coordinates are being used. The reason for this is if you have 1,2 then 3 touches, then release the 2nd touch, the count will be 2 touches, but only the 1st and 3rd set of coordinates will be actively updating coordinates.
My demo that you refer to, probably tries to help you figure out which specific touch is being used via 5 separate actors that are constrained to a specific set of touch coordinates. There is a little bug that the reset point is within reach of the circle actor that looks for a collision detection with a specific actor.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
If i understood what these touches meant correctly, then android is surely more then 2.
There is a gesture based app which allows up to 5 touchpoints.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS