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.

get overworld map at

Problem it solves

You want to inspect or modify the tilemap data of another room before the player actually travels there.

What this block does

Returns the tilemap data located at the given column and row in the overworld grid, or undefined if the slot is empty.

The block

Block ID: overworld_getMapAt

get overworld map at col $column row $row block

Parameters

NameTypeDefaultMeaning
columnnumber—The column index of the target tilemap.
rownumber—The row index of the target tilemap.

Returns

tiles.TileMapData — The tilemap data at that coordinate, or undefined.

Example

let targetMap = overworld.getMapAt(1, 0)
if (targetMap) {
    game.splash("Map found!")
}

Add the extension

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