2 player help
SingleSparq
Member Posts: 1,339
For a two player game I want to press the right side of the screen to spawn an actor that then follows my finger and the same on the right side for player two.
I have the actors and have set up 2 invisible areas (left and right) so if I pressed on the right it would spawn the actor and it follows my finger - if I press on the left though the right actor moves there and conflicts with the left actor. How do you keep the touches independent?
I have the actors and have set up 2 invisible areas (left and right) so if I pressed on the right it would spawn the actor and it follows my finger - if I press on the left though the right actor moves there and conflicts with the left actor. How do you keep the touches independent?
Comments
What your going to need to do is utilize multitouch... to do this look at codemonkeys joystick demo! good luck!