hit_flash
Tint a sprite layer toward a chosen colour on selected frames to create hit or damage flashes. Control the tint strength and optionally preserve outline pixels.
Instructions
Tint a layer toward a colour on some frames: the damage/hit flash.
amount 1.0 = solid silhouette in color (the classic white flash),
0.5 = half-way tint (a red pain tint). keep_outline leaves outline
colours alone so the shape still reads.
Args: filename: Aseprite file layer_name: Layer to flash ("*" for all image layers) frames: Frames to flash, e.g. "5" or "5,7" color: Flash colour amount: 0-1 keep_outline: Keep the outline pixels unchanged
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": {
"filename": "<filename>",
"layer_name": "<layer_name>",
"frames": "<frames>"
},
"name": "hit_flash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | #FFFFFF | |
| amount | No | ||
| frames | Yes | ||
| filename | Yes | ||
| layer_name | Yes | ||
| keep_outline | No |