cocos2d-x でパーティクルをお手軽に作れるツールがありました
http://particle2dx.com/
このサイトでパーティクルを作成して、下記のように埋め込めばオーケーです
CCSize s = CCDirector::sharedDirector()->getWinSize();
CCSprite* base = CCSprite::create("alpha.png");
base->setPosition(ccp(s.width / 2.f, s.height / 2.f));
this->addChild(base, 502);
CCParticleSystemQuad* particle = CCParticleSystemQuad::create("particle/particle_texture_3.plist");
particle->setAutoRemoveOnFinish(true);
// パーティクルを開始
particle->resetSystem();
// パーティクルを表示する場所の設定
particle->setPosition(ccp(s.width / 2.f, s.height / 2.f));
// パーティクルを配置
base->addChild(particle, 502);
http://particle2dx.com/
このサイトでパーティクルを作成して、下記のように埋め込めばオーケーです
CCSize s = CCDirector::sharedDirector()->getWinSize();
CCSprite* base = CCSprite::create("alpha.png");
base->setPosition(ccp(s.width / 2.f, s.height / 2.f));
this->addChild(base, 502);
CCParticleSystemQuad* particle = CCParticleSystemQuad::create("particle/particle_texture_3.plist");
particle->setAutoRemoveOnFinish(true);
// パーティクルを開始
particle->resetSystem();
// パーティクルを表示する場所の設定
particle->setPosition(ccp(s.width / 2.f, s.height / 2.f));
// パーティクルを配置
base->addChild(particle, 502);