Add: states to use all 7 rows
This commit is contained in:
@@ -75,3 +75,20 @@ For `sprimo-tauri`, when manifest `image` is exactly `sprite.png`:
|
||||
- `frame_height = image_height / 7`
|
||||
- manifest `frame_width` and `frame_height` are ignored for this case.
|
||||
- animation frame indices are validated against the fixed grid frame count (`56`).
|
||||
|
||||
## Recommended 7x8 Row Semantics
|
||||
|
||||
For `sprite.png` packs using the fixed `8x7` topology, the project convention is:
|
||||
|
||||
- row 1 (`0..7`): `idle`
|
||||
- row 2 (`8..15`): `happy`, `love`, compatibility alias `active`
|
||||
- row 3 (`16..23`): `excited`, `celebrate`, compatibility alias `success`
|
||||
- row 4 (`24..31`): `sleepy`, `snoring`
|
||||
- row 5 (`32..39`): `working`
|
||||
- row 6 (`40..47`): `angry`, `surprised`, `shy`, compatibility alias `error`
|
||||
- row 7 (`48..55`): `dragging`
|
||||
|
||||
Default one-shot policy:
|
||||
|
||||
- `celebrate` and `success` are one-shot.
|
||||
- other row animations loop by default.
|
||||
|
||||
Reference in New Issue
Block a user