- (BOOL) ccTouchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
{
CocosNode* spHead = [self getChildByTag:tagHead];
CocosNode* spBody = [self getChildByTag:tagBody];
[spHead runAction:fadeOutAction];
[spBody runAction:fadeOutAction];
}
as the code above, i want the sprites to do some action at the same time, the second one works exactly, but the first one doesn't.
Need help.Anyone can help me?