tilemap
Convert a 2D grid of tile IDs into a pixel-art map, rendering each ID as a 16x16 tile with adjustable scale and palette.
Instructions
Build a tilemap from a 2D grid of tile IDs. Each cell becomes a 16x16 tile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grid | Yes | 2D array of tile IDs (e.g. [["grass","grass","water"],["grass","door","grass"]]) | |
| scale | No | Scale factor (default 4) | |
| palette | No | Palette ID (default "pico8") |