Skip to content

Instantly share code, notes, and snippets.

@ryohey
Created January 24, 2014 03:34
Show Gist options
  • Select an option

  • Save ryohey/8591635 to your computer and use it in GitHub Desktop.

Select an option

Save ryohey/8591635 to your computer and use it in GitHub Desktop.
create Particle from plist in cocos2d-x v3.0beta0
auto explosion = ParticleSystemQuad::create("explosion.plist");
explosion->setAnchorPoint(Point::ANCHOR_MIDDLE);
explosion->setPosition(Point(200, 200));
explosion->setAutoRemoveOnFinish(true);
addChild(explosion);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment