Voxel Game Maker

Docs Cookbook

Dig and build

Game Settings ▸ Physics ▸ Dig & build blocks.

#Without code

Game Settings ▸ Physics ▸ Dig & build blocks. Swinging at grass, dirt, sand, snow or stone breaks it into the bag; pick it on the skillbar and click to build. Set Digging needs tool kind (e.g. pickaxe; empty = bare hands too). A Rule can also Place / remove a block.

#Quick code

Where it goes: on a lever, Event: Player presses E, makes a bridge.

for x = 10, 15 do
  set_tile(x, 0, 4, "Planks")
  wait(0.2)
end