[0.8.9][NK] Emmitters & Attractors

Particle Systems in TUG consist of three parts: particles, emitters and attractors.

Particles are 2d sprite objects.Particles are the main part of the system, only particles are rendered.Each particle has a texture, color, position, velocity and age.

Emitters are in-game objects, they can be spawned in the world or attached to other in-game objects.Each emitter has type, position, spawn rate, oscillation cycle and age(can be endless or spawn as burst).Emitters are basically controllers used to spawn particles.

Attractors are in-game objects, they need be attached to other in-game objects.One attractor can be assigned to multiple emitters, but each emitter can only be attached to one attractor at a time.Attractors can attract particles forwards the center of the attractor or repel particles away from the center of the attractor.