Repository navigation
Type
Basic Methods
Properties
- .alpha(alpha1, [alpha2], [alpha3])*
- .blend(additive)*
- .color(color1, [color2], [color3]) / colour(colour1, [colour2], [colour3])*
- .direction(min, max, [increase], [wiggle]*
- .gravity(amount, direction)*
- .life(min, max)*
- .orientation(min, max, [increase], [wiggle], [relative])*
- .scale(xscale, yscale)*
- .shape(shape)*
- .size(min, max, [increase], [wiggle])*
- .speed(min, max, [increase], [wiggle])*
- .sprite(sprite, anim, stretch, random)*
Stream/Burst
Returns: Boolean
Returns whether this ParticleType exists.
Returns: N/A
Reset ParticleType properties to their 'default' values.
Returns: N/A
Removes ParticleType from memory.
Returns: self
Set up to 3 alpha values for the ParticleType to blend through its lifetime.
Returns: self
Toggle additive blendmode when drawing this ParticleType.
Returns: self
Set up to 3 color values for the ParticleType to blend through its lifetime.
Returns: self
See color().
Returns: self
Set the movement direction of the ParticleType.
Returns: self
Set the gravity strength/direction that affects the ParticleType during its lifetime.
Returns: self
Set the minimum/maximum lifespan of new instances of this ParticleType.
Returns: self
Set 'image_angle' properties of the associated sprite of this ParticleType.
Returns: self
Set initial values for both 'image_xscale'/'image_yscale' of the associated sprite of this ParticleType.
Returns: self
Use a built-in GameMaker particle sprite on this ParticleType.
Returns: self
Set size properties of the associated sprite of this ParticleType.
Returns: self
Set the movement speed of the ParticleType.
Returns: self
Set up a custom sprite to use on this ParticleType.
Note: The following functions allow you to define a ParticleType to stream or burst another ParticleType, essentially creating an emitter on every new particle that is created. Use these functions with caution, as they can exponentially increase the amount of particles that are generated, which can significantly impact performance.
Returns: N/A
Set this ParticleType to stream another ParticleType on itself during its lifetime.
Returns: N/A
Set this ParticleType to 'burst' another ParticleType on itself at the end of its lifetime.