Game Development Reference
In-Depth Information
There are two ways to create the particle emitter, either from file or programmatically.
We will look at both the methods.
First particle effect
How can we apply particle effects to our project? The first thing that comes to mind
is to add nice flames to our jetpack. In order to do that, we need to create a new
particle effects file. To do this, we need to navigate to the File menu and then to New
| New File . On the left-hand side table, click on Resource under the iOS section and
from the right-hand side of the screen, select SpriteKit Particle File , as shown in the
following screenshot:
Creating a new particle effects file
On the next screen, you will be asked what preset type of particle effect you want to
create. Pick a Spark type. Name it as jet .
 
Search WWH ::




Custom Search