Game Development Reference
In-Depth Information
Node
class and change the properties programmatically in the code. This means there are
two ways to do so:
• Create an object of
SKEmitterNode
by getting the path of the particle file
from the bundle with predefined property values and then adding to any other
node or scene
• Create an object of
SKEmitterNode
just like any other node is created, setting
all the properties such as particle image, lifetime, speed, and so on and then
adding it to any other node or scene