map row 16
Problem it solves
You need to group several individual 16x16 tilemaps horizontally into a single row before assembling your world.
What this block does
Takes up to 6 individual 16x16 tilemaps and bundles them into an array representing one row of the overworld grid.
The block
Block ID: overworld_mapRow16
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
| map0 | tiles.TileMapData | — | Tilemap at column 0 in this row. |
| map1 | tiles.TileMapData | — | Tilemap at column 1 in this row. |
| map2 | tiles.TileMapData | — | Tilemap at column 2 in this row. |
| map3 | tiles.TileMapData | — | Optional tilemap at column 3. |
| map4 | tiles.TileMapData | — | Optional tilemap at column 4. |
| map5 | tiles.TileMapData | — | Optional tilemap at column 5. |
Returns
tiles.TileMapData[] — An array of tilemaps representing a single row.
Example
let row = overworld.mapRow16(tilemap`level1`, tilemap`level2`)
Add the extension
Add github:riknoll/arcade-overworld to your project, or open: Import arcade-overworld.