Spawning sprites is a great way to add action to your level. When a dozen enemies pop out of nowhere, it wakes up the player! You can also spawn many other sprites aside from enemies.
Spawning sprites from the (canwith)SOMETHING
When the SOMETHING
is shot, it will break apart revealing whatever sprite you want it to spawn.
Place a SOMETHING
(#1232/#4580/#4581/#4582) and tag it [0,SpriteNumber]
.
SpriteNumber is the number of the sprite to spawn when the can is shot.
You can only spawn sprites which have a name, and only certain named
sprites can be spawned.
Spawning sprites when a babe is killed
When a FEM
actor is killed, Respawn sprites can be triggered.
Place a FEM
actor and tag her [Channel,0]
(this only works with certain babe sprites). Place as many R[SpriteNumber,Channel]
sprites as you want. Move each R
to the exact location and height at which you want the object to spawn.
SpriteNumber is the number of the sprite to spawn when the FEM
is killed. You can only spawn sprites which have a name, and only certain named sprites can be spawned.
Spawning sprites with a trigger
Sprites will spawn at specified locations when a trigger is activated.
Place either a T[0,Channel]
or a switch tagged [ActivationSound,Channel]
(to trigger the respawn). Place as many R[SpriteNumber,Channel]
sprites as you want. Move each R
to the exact location and height at which you want the object to spawn.
SpriteNumber is the number of the sprite to spawn when the switch or
Touchplate is triggered. You can only spawn sprites which have a name,
and only certain named sprites can be spawned.