Chapter 11. Adding visual effects

Now that we have sound in our game, let’s add some visual effects. Like in other platform games it would be great to have the character give off visual queues, such as Mr. Steve glowing when he gets a powerup or falls sideways when he is hit by an obstacle. These visual queues spice up the game and help the player understand that a collision or an action is performed on that character.

In this chapter you will learn how to implement particle effects.

Adding particle effects

The easiest way to add cool visual effects to your game is through particle effects. Have you wondered how to add a rain effect in the background of your scene, how to  add sparks coming out of a volcano,  or how to make  a planet in your ...

Get Learning Swift: Building an iOS Game now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.