Game Development Reference
In-Depth Information
Once you have the project created, select the SpriteKit Particle File template from the iOS
Resource category, as shown in
Figure 6-2
.
Figure 6-2
.
The Choose Template dialog
Now click the Next button and select the Spark particle template, as shown in
Figure 6-3
.
Figure 6-3
.
The Choose File Options dialog
After making sure you have the correct particle template selected, click the Next button
again and name the file
MySparkParticle
. Once this is done, you will see that two
new files have been added to your project,
MySparkParticle.sks
and
spark.png
.
Select the
spark.png
file first. When the
spark.png
file is selected, you will see an
image of a white smudge. Next, select the
MySparkParticle.sks
file. This time you
will see an image similar to
Figure 6-4
.