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.

overworld location

Problem it solves

You want to show a mini-map coordinate or trigger a boss fight only when the player enters room (2, 3) on the world grid.

What this block does

Returns the current column or row index of the active tilemap in the overworld grid.

The block

Block ID: overworld_currentLocation

overworld location $property block

Parameters

NameTypeDefaultMeaning
propertyLocationProperty—Choose Column or Row to get that coordinate.

Returns

number — The 0-indexed column or row number of the current room.

Example

let col = overworld.currentLocation(overworld.LocationProperty.Column)
let row = overworld.currentLocation(overworld.LocationProperty.Row)
game.splash("Room: " + col + ", " + row)

Add the extension

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