© James Goodwill and Wesley Matlock 2017

James Goodwill and Wesley Matlock, Beginning Swift Games Development for iOS, 10.1007/978-1-4842-2310-9_6

6. Adding Particle Effects to Your Game with Emitter Nodes

James Goodwill and Wesley Matlock2

(1)Highlands Ranch, Colorado, USA

(2)Kansas City, Missouri, USA

In this chapter, we show you how to define particle emitters and how to leverage them in SpriteKit games. After that, we show you how you can use them to add engine exhaust to the playerNode whenever an impulse is applied to the physicsBody.

Note

We cover only the properties that we’ll be using in the SuperSpaceMan game. If you want to see the complete list of properties, check out the Apple Developer docs at https://developer.apple.com/library/ios/documentation/SpriteKit/Reference/SKEmitterNode_Ref/index.html ...

Get Beginning Swift Games Development for iOS: Develop 2D and 3D games Using Apple's SceneKit and SpriteKit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.