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 walls block map transitions

Problem it solves

You want to prevent the player from walking into a neighboring room if that room's entry edge is blocked by solid wall tiles.

What this block does

When enabled, stops map transitions from happening unless the player sprite can actually fit in the destination room without overlapping walls.

The block

Block ID: overworld_setWallsBlockTransitions

set walls block map transitions $blockEnabled block

Parameters

NameTypeDefaultMeaning
blockEnabledboolean—true to block transitions into walls; false to allow automatic repositioning.

Example

overworld.setWallsBlockTransitions(true)

Add the extension

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