Hello,
I've made a particle system:
emitter = [[CCParticleSystem alloc] initWithTotalParticles:413];
[emitter setEmitterMode: kCCParticleModeGravity];
emitter.texture = [[CCTextureCache sharedTextureCache] addImage:@"star.png"];
emitter.position = ccp( 350, 130 );
[emitter setEmissionRate:10];
[emitter setGravity:ccp(1.23,0.28)];
[emitter setAngle:338];
[emitter setSpeed:12.0];
[emitter setLifeVar:8];
[emitter setStartSize:26.0];
[emitter setStartSizeVar:5.0];
[emitter setEndSize:14.0];
[emitter setEndSizeVar:33.0];
[emitter setLife:10];
[emitter setAngleVar:337];
Nothing happen :)
If i change the first line to
emitter = [[CCParticleFireworks alloc] initWithTotalParticles:413];
or something else, i see the particles, but i want to create a particlesystem without any preselected templates.
How to start the particle system ?