Chapter 7. Particle Systems

In this chapter, we will look at Cocos2d-x's inbuilt particle system and the different particles you can create with just a few lines of code. Later, we will look at how to create a mock particle system of our own using a basic creation system. We will also look at the software that can be used to create complex particle systems.

Using these different methods and techniques, we will create particles for the game. These particles will be used to spawn particles when the player shoots, for a jet particle effect while boosting the hero up, and for a small explosion particle effect when the enemy is hit by a rocket.

You will learn the following in this chapter:

  • What is a particle system?
  • Cocos2d-x's inbuilt particle system ...

Get Learning Cocos2d-x Game Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.