Coding inside the function -(void) ccTouchMoved:(UITouch *)touch withEvent:(UIEvent *)event receiving 2 touches in the "event" variable, how can one detect which touch has lived longer? i know i could use global variables and in the touchbegin just update these variables, but I rather do it the better way, if there is any.
That should do it. timestamp tells you: "The time when the touch occurred"
bentford
2010-07-27 18:11:08
Sorry, it doesn't do it, the timestamp of a touch is updated on each event, even in the touchesMoved. so you can't use it which touch started first.
Alon Amir
2010-09-18 17:51:19