Questions tagged [ccparticlesystem]
40 questions
5
votes
1 answer
Cocos2D - Particles follow the emitter instead of staying at the position they were released
In cocos2D I currently have a very simple particle emitter initialized like this:
turnEmitter = [[CCParticleFlower alloc] init];
turnEmitter.texture = [[CCTextureCache sharedTextureCache] addImage:@"Pocket.png"];
[self…

CodingBeagle
- 1,888
- 2
- 24
- 52
4
votes
1 answer
Sprite Flickering Artifacts After cocos2d Version Upgrade
I use Kobold2D and I just upgraded from version 2.0.3 to version 2.1.0 (this means that I've gone from cocos2d-iphone v2.0 to cocos2d-iphone v2.1).
Before the upgrade my project was running and looking great on my iPhone 5.
After the upgrade these…

robbpriestley
- 3,050
- 2
- 24
- 36
4
votes
1 answer
Using particle effects in cocos2d with ccspritebatchnode
I'm trying to add a particle effect to my cocos2d iOS game. I'm having a problem when adding particles to my sprites because all of my sprites are using a spritebatch for improved performance. It seems I can't easily use a particle effect on my…

SkyTeck Games
- 43
- 5
3
votes
1 answer
CCParticleSystemQuad removed prematurely - ios
I have an ios app that uses cocos2d v1.1.0-beta2b, and encountered a very strange condition with emitters' auto removal.
My question is:
Is there any way that an infinite duration CCParticleSystemQuad, with an autoRemoveOnFinished set to YES, will…

am1987
- 347
- 3
- 13
3
votes
1 answer
Cocos2D 2.0 removed ARCH_OPTIMAL_PARTICLE_SYSTEM, How can I create pointparticles?
I am upgrading my Cocos2D game to Cocos2D 2.0-rc23.
I found Cocos2D 2.0 removed ARCH_OPTIMAL_PARTICLE_SYSTEM.
"
[FIX] Particle: Handles premultipled images correctly
Fixed possible memory leak when changing textures.
Examples: Removed…

ttotto
- 826
- 3
- 13
- 31
2
votes
0 answers
OpenGL error 0x0500 in -[CCParticleSystemQuad draw] 455
I am developing box2d game. In that i used animations and particle effect, My game is working fine but console i am getting this error continually.
OpenGL error 0x0500 in -[CCParticleSystemQuad draw] 455
OpenGL error 0x0500 in -[CCParticleSystemQuad…

Sudhakar
- 1,517
- 1
- 10
- 22
2
votes
1 answer
CCParticleSystem removal best practices
My question is for apps written in cocos2d v1.1.0-beta2b for ios:
What are the best practices for removing/releasing a CCParticleSystem?
One way I know of is using setAutoRemoveOnFinish:YES.
[emitter setAutoRemoveOnFinish:YES];
[emitter…

am1987
- 347
- 3
- 13
2
votes
2 answers
CCParticleSystemQuad stop/pause/resume/play ability?
looking if there is a pause/resume method in this class.
something like :[CCParticleSystemQuad resume];
do I missing ? or not exists ?

Zen Of Kursat
- 2,672
- 1
- 31
- 47
2
votes
1 answer
CCParticleFire and CCParticleSystemQuad file not loading
I am trying to create particle effects like this:
emitter = [[CCParticleSystemQuad alloc] initWithTotalParticles:45];
[emitter setEmitterMode: kCCParticleModeGravity];
emitter.position = ccp(100, 100);
emitter.texture=[[CCTextureCache…

bluestunt
- 479
- 4
- 11
2
votes
2 answers
CCParticle Meteor cocos2d
I have gone through the CCParticle's but the only problem I currently have is understanding what the items like startSize, endSize, startSizeVar, startColor and etc mean. Is there a link of what they all do or can someone explain to me?

Wei Pan
- 57
- 7
2
votes
2 answers
Callback when Cocos2d CCParticleSystem has finished?
I'd like to run a callback/selector when a Cocos2d CCParticleExplosion is completely finished. How do I do this?
I tried using scheduleOnce with the same duration as the emitter, but that finish too soon since I guess the duration of the emitter…

Johan Nordberg
- 3,621
- 4
- 33
- 58
1
vote
0 answers
How change the life time of existing particles in CCParticleSystemQuad?
I have a CCParticleSystemQuad and it generated many particles with setLifeVaule(40).
Now, in the runtime, I want to change the life value of the existing particles in fewer value such as 0.1.
But setLife() function does not affect existing…

mostafa88
- 532
- 1
- 8
- 20
1
vote
1 answer
CCParticleSystem doesn't display in my iPad scene
I'm trying to use the particle system of Cocos2d, to add effects to an existing scene inheriting from CCScene on my iPad. However, somehow the particle system is not added to the stage/running. I'm not able to get it running after searching multiple…

Ńike Kamstra
- 157
- 9
1
vote
0 answers
Crash after playing 10-15 levels
I am using CCParticleSystemQuad to simulate exploding effect. After playing 10-15 levels on device, it crashes and i'm getting an error message
Assertion failure in -[CCParticleSystemQuad initWithFile:]
and pointing to CCParticleSystem.m class…

Alisa
- 23
- 5
1
vote
0 answers
cocos2d: Warning: File not found: particleTexture.png
I have only a line to load particle.png, and the texture is embedded in it.
Sometimes the texture is seen and somethimes it does not appear.
I noticed I get a warning message:
cocos2d: Warning: File not found: particleTexture.png
My just code to…

Zen Of Kursat
- 2,672
- 1
- 31
- 47