Skip to content

Instantly share code, notes, and snippets.

@takashi1975
Created October 30, 2014 23:05
Show Gist options
  • Save takashi1975/3af781e145c846cb582d to your computer and use it in GitHub Desktop.
Save takashi1975/3af781e145c846cb582d to your computer and use it in GitHub Desktop.
Cocos2d-x v3.2 ... パーティクルの追加
auto * particle = ParticleSystemQuad::create("particle_laserball.plist");
auto pos = Point::ZERO;
particle->setPosition(pos);
particle->setAutoRemoveOnFinish(true);
this->addChild(particle);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment