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.

set overworld transition radius

Problem it solves

The screen switches rooms too early before your character even reaches the edge of the display.

What this block does

Sets how close in pixels the player sprite needs to be to the tilemap edge (while moving toward it) before triggering a room switch.

The block

Block ID: overworld_setMapTransitionRadius

set overworld transition radius $radius block

Parameters

NameTypeDefaultMeaning
radiusnumber—Distance in pixels from the map edge that triggers a transition (minimum 1).

Example

overworld.setMapTransitionRadius(8)

Add the extension

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