Game Development Reference
In-Depth Information
How to do it
For creation and implementation of particle systems, we will use Particle Editor. This edit-
or doesn't need any installation as it is in-built in the Xcode, which will be used to create
particle system files and then can be added as nodes as a part of the implementation.
So we can start with the solution kit of
Chapter 3
,
Animations and Texture
, and continue
from there. The following are the steps involved to create a Sprite Kit Particle File:
1. Open Xcode and go to
File
|
New
|
File
.
2. Then choose the
Resource
section in
iOS Section
, select
SpriteKit Particle File
,
and press
Next
.
3. From a list of particle system templates provided, select the
Fire
particle system
template and click on
Next
to create a fire effect, which will be used to depict the
thrust of spaceship in the game built so far.