-
Notifications
You must be signed in to change notification settings - Fork 0
Part_type_sprite
hpgDesigns edited this page Aug 8, 2021
·
1 revision
Sets the sprite of the given particle type.
| Parameter | Data Type | Description |
|---|---|---|
| ind | integer | index of the particle type |
| sprite | integer | index of the sprite |
| anim | boolean | whether the sprite should be animated |
| stretch | boolean | whether the animation should be stretched over the lifetime of the particle |
| random | boolean | whether a random subimage should be chosen as the starting image |
void: This function does not return anything.
// demonstrates setting the sprite of a particle type
part_type_sprite(type_exp, spr_explosion, true, true, false);
NOTOC
This is number 1