Ase Create Tilemap Layer
ase_create_tilemap_layerCreate a tilemap layer with a dedicated tileset, aligning the sprite grid to tile dimensions and reserving tile 0 for empty space so subsequent tile drawings are correctly placed.
Instructions
Create a tilemap layer with its own tileset: sets the sprite grid to the tile size and adds the layer. Tile index 0 is the reserved empty tile; draw real tiles with ase_draw_on_tile (which appends on demand).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sprite_path": "<sprite_path>",
"layer_name": "<layer_name>",
"tile_width": "<tile_width>",
"tile_height": "<tile_height>"
},
"name": "ase_create_tilemap_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer_name | Yes | ||
| tile_width | Yes | ||
| sprite_path | Yes | ||
| tile_height | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||