Docs Cookbook
Enemy waves
Place a Spawner. Set Spawns (your enemy prefab), Every, At most alive and In all.
#Without code
- Place a Spawner. Set Spawns (your enemy prefab), Every, At most alive and In all.
- Add more spawners with Only while switch is on (empty = always) for later waves.
#Quick code
Where it goes: on the spawn spot, Event: Player enters the world; the enemy model is tagged goblin.
for wave = 1, 3 do
banner("Wave " .. wave)
spawn("Goblin", self.x, self.y, self.z, wave * 2)
wait(1)
wait_until(function() return nearest("goblin") == nil end)
end
banner("You survived!")
Get an email when Voxel Game Maker launches
It's coming to Steam with a launch discount. One email on launch day, the odd progress update, nothing else.