Repository navigation
System
Basic Methods
Layers/Depth
Particles
Update/Drawing
Returns: Boolean
Returns whether this particle system exists.
Returns: N/A
Clears all associated emitters/particles, resets depth/position.
Returns: N/A
Removes particle system from memory, destroying all associated emitters/particles.
Returns: N/A
Removes all associated emitters from memory.
Returns: N/A
Clear all associated 'alive' particles.
Returns: self
Generates a new ParticleSystem that can be made persistent between rooms, as well as defining a new layer to set it to.
Returns: Layer ID
Retrieve unique layer ID for this particle system, if manually assigned (otherwise returns 0).
Returns: self
Switch the current ParticleSystem to a new layer.
Returns: self
Sets the draw depth of the particle system, same as 'layer depth'.
Returns: self
Updates the ParticleSytem's 'origin' position (default: 0,0). (Emitter positions/regions are offsets of this origin position)
Returns: self
Creates a particle (without using an emitter).
Returns: Integer
Returns the total number of alive particles attached to this ParticleSystem.
Returns: N/A
Updates the ParticleSystem and all associated emitters/particles. (Typically used when autoUpdate = false)
Returns: N/A
Runs the Draw Event for this ParticleSystem. (Typically used when autoDraw = false)
Returns: N/A
Enables/Disables automatic updating of this ParticleSystem.
Returns: N/A
Enables/Disables automatic drawing of this ParticleSystem.
Returns: self
Toggle whether newer particles should be drawn in front of old ones.