O'Reilly logo

iOS Game Programming Cookbook by Bhanu Birani, Chhavi Vaishnav

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the particle system in games

Now as a complete tour of particle editor is over, we can have a usage of the particle emitters. We will build some stuff for our game that is, the thrust of spaceship using the same FireParticle file and a collision effect when the coin is picked by the spaceship with a default template of smoke.

In this section, editing of the particle file using the particle editor of Xcode will be done to produce a game particle effect such as the thrust of spaceship and a new particle file will be formed named SmokeParticle for the collision effect between the coin and spaceship. Also, we will discuss and understand some initial code-level classes.

Getting ready

We should have hands on the particle editor of Xcode with changing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required