2D Particle emitter
Particles2D is a particle system 2D [Node] that is used to simulate several types of particle effects, such as explosions, rain, snow, fireflies, or other magical-like shinny sparkles. Particles are drawn using impostors, and given their dynamic behavior, the user must provide a visibility bounding box (although helpers to create one automatically exist).
Returns the amount of particles spawned at each emission
Gets the amount of seconds that each particle will be visible.
Returns the texture for emitted particles
Returns whether this emitter is currently emitting or not
Sets the amount of particles spawned at each emission
If this is set to true then the particle emitter will emit particles, if its false it will not.
Sets the amount of seconds that each particle will be visible.