With multi-touch support, is it possible to have a two player game where each player controls, by touch, certain movable objects? For example, could a Pong implementation be written, with each player controlling a paddle by moving it with a finger?
Before I dive further into my game, I just want to know if it’s possible.
As far as I understood the changes in Beta 6 this is now possible and “solid”. But what holds you back to write some simple code and tell us if if works? [import]uid: 6928 topic_id: 1454 reply_id: 4057[/import]
Yes, the new implementation of Multitouch in Beta 6 allows for tracking multiple independent touches as well as targeted touches to objects. Each touch generates a touch event with a touch ID that can be used to track the touch events. Each touch ID will receive its own “began”, “moved”, and “ended” event phases.
The FollowMeMultitouch code shipped with Beta 6 demonstrates the new multitouch but outputs the results to the terminal console. Tomorrow, I will try to release a modified version of the FollowMeMutitouch sample code that demonstrates multitouch on an actual device.
I’ll let you know when it’s up.
[import]uid: 7559 topic_id: 1454 reply_id: 4085[/import]