O'Reilly logo

Build iOS Games with Sprite Kit by Josh Smith, Jonathan Penn

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

Building Thruster Fire with Xcode’s Particle Editor

We’re going to walk through how to use the Sprite Kit particle editor that comes with Xcode to add some exciting thruster fire to our valiant spaceship. First, choose File > New > File in Xcode. In the template picker, make sure iOS Resource is selected in the sidebar, select SpriteKit Particle File, and click Next, as shown in the following figure.

images/Particles/newparticlefile.png
Figure 14. Creating a new particle file

When asked to choose a particle template, use the default Spark and click Next. Then name the file thrust.sks. You’ll notice that the thrust.sks file and an accompanying spark.png texture file are now in the ...

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