MakeCode Games!

A fan-made community library of MakeCode Arcade games. Visit MakeCode Arcade to make a game!

← Back to extensions

Arcade Overworld

Create connected Zelda-style room grids and seamless multi-screen adventure worlds with smooth transitions and auto-scrolling.

load overworld map in direction

Problem it solves

You want the player to step through a teleporter or press a switch that moves them directly to the room to the right.

What this block does

Loads the adjacent tilemap in the specified collision direction (Top, Right, Bottom, or Left) relative to the current room.

The block

Block ID: overworld_loadMapInDirection

load overworld map in direction $direction block

Parameters

NameTypeDefaultMeaning
directionCollisionDirection—The direction to move on the grid (Top, Right, Bottom, or Left).

Example

controller.B.onEvent(ControllerButtonEvent.Pressed, function () {
    overworld.loadMapInDirection(CollisionDirection.Right)
})

Add the extension

Add github:riknoll/arcade-overworld to your project, or open: Import arcade-overworld.