Book Image

iOS Game Programming Cookbook

Book Image

iOS Game Programming Cookbook

Overview of this book

Table of Contents (19 chapters)
iOS Game Programming Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Installation of the particle system


A particle system is a collection of separate tiny objects called particles. They are added to scenes and nodes as emitter nodes, which control its position and motion in the scene. These particle systems are used to add some cool effects to the scene, which are highly intense effects such as fire, smoke, explosions, rain, water, and many more.

In this section, we will discuss how the particle system tools are installed and created for specific effect to be added in the game in the upcoming sections.

Getting ready

Before iOS 7, there were open source particle editors used for the creation of particle systems. However, from iOS 7, there is an in-built support to create particle systems using a tool called Particle Editor, which comes integrated with Xcode 5.0. So the prerequisite for this section is having iOS 7 and Xcode 5 to create some cool particle effects.

How to do it

For creation and implementation of particle systems, we will use Particle Editor. This...