Repository navigation
Home
Andrew Gleeson edited this page Jan 5, 2022
·
2 revisions
v0.1.0 | 05-01-2022
A wrapper for GameMaker's native particle functions.
Adds syntactic sugar by using GML 2.3+ syntax to implement 'method-chaining', allowing code to be written faster and be more legible.
While this library contains extensive JSDoc documentation, this wiki will help you understand what this library covers and how to get the most out of using it.
Sprinkle is supported for all platforms.
Basic Methods
Layers/Depth
Particles
Update/Drawing
Basic Methods
Properties
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