Voxel Game Maker

Docs Cookbook

Climbing a ladder or vine

Place the ladder or vine model. Add the Ladder behavior.

#Without code

  1. Place the ladder or vine model. Add the Ladder behavior.
  2. In play, walk into it and hold forward to climb, back to go down, jump to let go.

#Quick code

Where it goes: to lock climbing until the player finds gloves, Event: Player enters the world.

allow("climb", false)
wait_until(function() return has("Gloves") >= 1 end)
allow("climb", true)
popup("Now you can climb vines!")