multitouch issue... (two buttons at at once?)
i have an actor that you can drag. theres also a "shoot" button.
if i drag the actor, and press the shoot button with my other finger (second touch), he shoots just fine.
HOWEVER, if i press the shoot button (without touching the actor) he shoots, but then if i attempt to move the actor AFTER the shooting starts (actor receiving second touch) he won't move.
now bear with me...
if i touch actor and move him up the screen, then press shoot, then let go of actor while still holding "shoot", the actor's y coordinates slam down to the "shoot" button's level. meaning only one touch may be being detected?
i know the dual joystick demo from codemonkey has multitouch enabled. but it confusing for me to understand. can someone break it down for me? i just need 2 touch multitouch
any tips or help would be GREATLY appreciated. thanks guys!
if i drag the actor, and press the shoot button with my other finger (second touch), he shoots just fine.

HOWEVER, if i press the shoot button (without touching the actor) he shoots, but then if i attempt to move the actor AFTER the shooting starts (actor receiving second touch) he won't move.
now bear with me...
if i touch actor and move him up the screen, then press shoot, then let go of actor while still holding "shoot", the actor's y coordinates slam down to the "shoot" button's level. meaning only one touch may be being detected?
i know the dual joystick demo from codemonkey has multitouch enabled. but it confusing for me to understand. can someone break it down for me? i just need 2 touch multitouch

Comments