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 set scroll animation z

Problem it solves

Your custom UI elements or dialog boxes are getting swept away by the scroll animation when changing rooms.

What this block does

Sets the Z-index depth at which the scrolling transition renders. Sprites with a higher Z-index will remain visible on top without scrolling.

The block

Block ID: overworld_setScrollAnimationZIndex

overworld set scroll animation z $z block

Parameters

NameTypeDefaultMeaning
znumber99The Z depth layer for the scroll transition (default is 99).

Example

overworld.setScrollAnimationZIndex(50)

Add the extension

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