Proper settings for a realistic explosion particle


#1

What is the proper settings for a explosion like this http://www.youtube.com/watch?v=JptGbEO3b5E


#2

This might help: http://onebyonedesign.com/flash/particleeditor/


#3
  1. it is easy to port a cocos2d particle to cocos2d-x, the API are very similar.

  2. it is easy to design particles with the link above, or ParticleDesigner

The nice this about ParticleDesigner is that it comes with a gallery – which includes something very, very close to what you posted above.


#4

For Cocos2dx 3.x. Below code is working for me.

ParticleSystemQuad* testP = ParticleSystemQuad::create("particle_texture.plist");
testP->setPosition(pos);
this->addChild(testP);
testP->setAutoRemoveOnFinish(true);