Multi touch ID's
Shanesta
Member Posts: 63
Ok, so I got my game running on the test app on my iPod 3rd gen, Good job on that guys!
My game has dual thumb stick controls, and I'm kinda confused about how they would work with multi touch. I got it working by assigning the left stick to touch 1, and right stick to touch 2. This works if you touch the left stick first, but if you touch the right stick first, it breaks obviously.
How can you dynamically link the touch in one area to some controls, no mater what touch id it uses. Seem like there needs to be like a local touch option.
My game has dual thumb stick controls, and I'm kinda confused about how they would work with multi touch. I got it working by assigning the left stick to touch 1, and right stick to touch 2. This works if you touch the left stick first, but if you touch the right stick first, it breaks obviously.
How can you dynamically link the touch in one area to some controls, no mater what touch id it uses. Seem like there needs to be like a local touch option.
Comments
You could do the painfully logical method and compare the coordinates of each touch if they are within the area of the control. But its so complicated I don't even want to write out that logic.
Yea manually tracking all touch ID's seems like a pain.
I used it for a two player split screen game so that the players dont get touches mixed up.