Repository navigation
Generator Documentation
All of these properties change how the generator works and generates particles.
The time (in beats) when the generator starts generating particles.
PS.generator.time = 8; // The generator will start producing particles at beat 8The duration (in beats) of how long the generator will produce particles for.
PS.generator.duration = 16; // The generator will produce particles for 16 beatsThe amount of particles produced during the duration of the generator.
PS.generator.amount = 1000; // The generator will produce 1000 particles over its lifetimeThe shape of the generator. "Sphere" creates particles from one point and fires them in any direction. "Direction" creates particles and fires them in one direction. "Field" creates particles in a field where each particle has its own start and end point within the specified area.
PS.generator.shape = "Direction"; // The generator's type will be set to "Direction"The type of particles the generator produces. "Wall" will produce walls as particles, "Note" will produce notes as particles, and "Bomb" will produce bombs as particles.
PS.generator.type = "Note"; // The generator will produce notes as particlesSets the volume of where particles can be generated, does not work on the generator type "Sphere".
PS.generator.scale = [10,5,10]; // The generator will spawn particles in a volume of [10,5,10]Sets the position of the generator by moving the parent track.
PS.generator.position = [0,0,20]; // The generator will have a position of [0,0,20]Sets the rotation of the generator by rotation the parent track.
PS.generator.rotation = [-45,0,0]; // The generator will have a rotation of [-45,0,0]If the generator shape is "Direction", expansion expands the possible area particles can end in. If the generator shape is "Sphere", expansion expands the area where the particles start from. If the generator shape is "Field", expansion currently does not affect anything.
PS.generator.expansion = 5; // The generator will have an expansion value of 5Names the parent track of all particles, defaults to "ParticleSystem". Use this when making more than one particle system in your map to avoid overlapping track names.
PS.generator.name = "FirePS"; // The generator's parent track name will be set to "FirePS".