Docs Cookbook
Breakable crate
Place the crate. What is it? ▸ Breakable: smash it with a weapon.
#Without code
- Place the crate. What is it? ▸ Breakable: smash it with a weapon.
- List what it drops (Advanced: Drops loot, item, how many and its chance).
- In Advanced, Health / breakable: Health, Hit sound, Destroyed sound; Needs tool for crates only an axe opens.
- Breaks apart: its How (explode, crumble, shatter…).
#Quick code
Where it goes: on the crate, Event: It is destroyed.
particles("explosion")
if chance(30) then
spawn("Heart", self.x, self.y, self.z)
end
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.