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 8

Problem it solves

You want to combine multiple rows of 8x8 tilemaps into a structured grid for an 8-bit style game.

What this block does

Combines multiple map rows of 8x8 tilemaps into a full 2D overworld grid array.

The block

Block ID: overworld_createMap8

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

Parameters

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

Returns

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

Example

let worldGrid = overworld.createMap8(
    overworld.mapRow8(tilemap`level1`, tilemap`level2`)
)
overworld.setOverworld8(worldGrid)

Add the extension

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