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 CANWITHSOMETHING
When a CANWITHSOMETHING
is shot, it will break apart revealing whatever sprite you want it to spawn.
Place a CANWITHSOMETHING
(#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 FEM
actors). 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 (the angle seems to have no effect, or at best a very arbitrary effect).
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 respawns). 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 (the angle seems to have no effect, or at best a very arbitrary effect).
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.