How to Show Cocos2D Particle Effects Repeatedly ?

By | July 28, 2011


For showing particle effects repeatedly in Cocos2D, use the sample code.

CCParticleSystemQuad *yourParticleEffect = [CCParticleSystemQuad particleWithFile:@"yourEffect.plist"];

[self addChild:yourParticleEffect z:5];

This will show the effect ‘yourEffect’ repeatedly in your game.

Leave a Reply

Your email address will not be published. Required fields are marked *