ParticleType.setSprite() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
sprite |
{Sprite} |
No |
animate? |
{bool} |
Yes |
matchAnimation? |
{bool} |
Yes |
random? |
{bool} |
Yes |
Not applicable.
Set the Sprite properties of particles of this Particle Type, which replaces its shape
is it is set. The Sprite can be animated using its own animation speed, unless it is set to match the life
time of this Particle Type. The animation will play from either the start to finish or randomized frames if specified.