Retired Document
Important: This document may not represent best practices for current development. Links to downloads and other resources may no longer be valid. More up-to-date information can be found in Xcode Help.
About the Particle Emitter Editor
The particle emitter editor in Xcode provides an area in which you can change the values for a particle emitter and immediately see the results.
Particle emitters are a function of the SpriteKit framework that allow you to specify a specific point in their display and create images that move and change over time. Using emitters, you can simulate rain, snow, fire, and many other effects in your game.
At a Glance
Particle emitters provide you with a quick and efficient way to add special effects to their SpriteKit apps. Emitters can range from a single image that barely moves to thousands of small particles flying around the screen. You can control the following emitter items:
The number of particles created and the maximum number of particles allowed
How long each particle lasts before disappearing
Where the particle is created
The direction that the particle moves out from its creation point
The size of the particle and whether it expands or shrinks over its lifetime
The rotation, if any, of the particle
How the color of the particle changes throughout its lifetime
How to Use This Document
This document is intended for developers that are incorporating particle emitters into their SpriteKit–enabled apps. The following chapters describe how to use and add an emitter to your app:
Getting Started with the Particle Emitter shows how to incorporate a particle emitter into your SpriteKit–enabled Xcode project. It also lists and describes the different particle emitter templates included with Xcode.
Manipulating the Particle Emitter shows how to change the look and feel of a particle emitter.
See Also
For additional information on SpriteKit and particle emitters, see the following:
The SKEmitterNode Class Reference contains the API references for SpriteKit.
The SpriteKit Programming Guide shows you how to create a SpriteKit–enabled app.
The Xcode Help shows you how to use Xcode to create and develop your app.
Copyright © 2015 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2015-03-09