Voxel Game Maker

Docs Cookbook

Doors between levels

Place the cave mouth or door. Add the Exit / Teleport behavior.

#Without code

  1. Place the cave mouth or door. Add the Exit / Teleport behavior.
  2. Pick To level and, optionally, To tile where the player arrives.
  3. Tick Walk-in to go through by walking into it, or leave it off and set the Prompt for E.

#Quick code

Where it goes: on the door, Event: Player presses E.

transition("fade", 1)
load_level("Cave", "cave_entrance")

The second name is the Script name of an object in the Cave to arrive next to.