You need to add the following lines in order to enable the multi-touch:
- (id) init …
//Enable multi touch
self.isTouchEnabled = YES;
}
return self;
}
//Enable multi touch
- (void) onEnter
{
[[CCTouchDispatcher sharedDispatcher] addTargetedDelegate:self priority:0 swallowsTouches:YES];
[super onEnter];
}
//Enable multi touch
- (void)onExit
{
[[CCTouchDispatcher sharedDispatcher] removeDelegate:self];
[super onExit];
}