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.

create map 16

Problem it solves

You want to visually build a 2D overworld grid using rows of 16x16 tilemaps in block mode.

What this block does

Combines multiple map rows of 16x16 tilemaps into a full 2D overworld grid array.

The block

Block ID: overworld_createMap16

$row0 $row1 $row2|| $row3 $row4 $row5 block

Parameters

NameTypeDefaultMeaning
row0tiles.TileMapData[]—First row of tilemaps.
row1tiles.TileMapData[]—Second row of tilemaps.
row2tiles.TileMapData[]—Third row of tilemaps.
row3tiles.TileMapData[]—Optional fourth row of tilemaps.
row4tiles.TileMapData[]—Optional fifth row of tilemaps.
row5tiles.TileMapData[]—Optional sixth row of tilemaps.

Returns

tiles.TileMapData[][] — A 2D array of tilemaps ready for setOverworld16.

Example

let worldGrid = overworld.createMap16(
    overworld.mapRow16(tilemap`level1`, tilemap`level2`),
    overworld.mapRow16(tilemap`level3`, tilemap`level4`)
)
overworld.setOverworld16(worldGrid)

Add the extension

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