build_spritesheet
Pack frames into a uniform-cell sprite sheet with PNG and JSON atlas for Phaser, Pixi, Godot, or Unity, plus an animated GIF preview.
Instructions
Pack frames into one uniform-cell sprite sheet PNG + JSON atlas (TexturePacker hash, works in Phaser/Pixi; frameWidth/frameHeight for Godot/Unity) + animated GIF preview.
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": {
"project": "<project>",
"name": "<name>",
"frames": "<frames>"
},
"name": "build_spritesheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | ||
| name | Yes | Sheet slug, e.g. "walk-right" | |
| align | No | center | |
| stage | No | processed | |
| frames | Yes | Asset names in playback order | |
| columns | No | Default: all frames in one row | |
| padding | No | ||
| project | Yes | ||
| gif_scale | No | Integer upscale for the GIF preview (pixel art) |