Game Development Reference
In-Depth Information
All particle systems are added as children to GameLayer ; they cannot be added to our
SpriteBatchNode class. And you must call stopSystem() on each system as
they're created otherwise they will start playing as soon as they are added to a node.
In order to run the system, you make a call to resetSystem() .
Note
Cocos2d-x comes bundled with some common particle systems you can modify for your
own needs. If you go to the test folder at: tests/cpp-tests/Classes/
ParticleTest , you will see examples of these systems being used. The actual particle
data files are found at: tests/cpp-tests/Resources/Particles .
Search WWH ::




Custom Search