Inherits from CCParticleSystemBase : CCNode : CCResponder : NSObject
Declared in CCParticleSystem.h

Overview

CCParticleSytem improves upon the performance in CCParticleSystemBase and is the default class for adding particles. Please see CCParticleSystemBase documentation.

Special features and Limitations

  • Particle size can be any float number.
  • The system can be scaled.
  • The particles can be rotated.
  • It supports subrects.
  • It supports batched rendering for improved performance.

Instance Methods

setTexture:withRect:

Set particle system texture using specified texture and texture coords value.

- (void)setTexture:(CCTexture *)texture withRect:(CGRect)rect

Parameters

texture

Texture.

rect

Texture coords.

Declared In

CCParticleSystem.h