开发者

cocos2d sprite explosion

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].

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜