Hey, does somebody know, how i can let a sprite explode?
a co开发者_运维技巧de like [[CCSprite spriteWithFile:@"supermario.png"] runAction:[CCExplode action......]];
would be great!!!
The way you want to handle something like is to first put the explosion frames in an Array, then you want to create a CCAnimation where you would specify the delay between frames and then you would say, [mySprite runAction: myAnim].
精彩评论