You can easily simulate fire, smoke, explosions, snow, and rain by using the built-in particle system bundled with the Cocos2d-x framework. This chapter will teach you how to create the effects mentioned here and will also teach you to customize them.
The following topics will be covered in this chapter:
We are going to add a particle system to our game to simulate the explosions each time the player touches a bomb. In the interest of doing this, we are going to use the
Vector class located in the Cocos2d-x framework to ...