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.
Coding inside the function -(void) ccTouchMoved:(UITouch *)touch withEvent:(UIEvent *)event receiving 2 touches in the
Share
Eventually I stored pointers to the touches. saving a timestamp manually, found no other way.