inspect_tilemap
Analyze tilemap data in Pyxel games to view tile grids, usage statistics, layout boundaries, and image source settings for debugging and optimization.
Instructions
Inspect tilemap content, tile usage, and layout.
Reads tilemap data and reports tile grid, usage statistics, bounding box of non-empty tiles, and imgsrc setting.
Args: script_path: Absolute path to the .py script to run. tilemap: Tilemap index 0-7 (default: 0). frames: Frame at which to read tilemap (default: 1). timeout: Maximum seconds to wait for the script (default: 10).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_path | Yes | ||
| tilemap | No | ||
| frames | No | ||
| timeout | No |