Add: setting window for tauri - bugs not fixed yet
This commit is contained in:
@@ -64,3 +64,14 @@ Path: `<pack_dir>/manifest.json`
|
||||
- `rows = image_height / frame_height`
|
||||
- Image dimensions must be divisible by frame dimensions.
|
||||
- Every animation frame index must be `< columns * rows`.
|
||||
|
||||
## Tauri `sprite.png` Override
|
||||
|
||||
For `sprimo-tauri`, when manifest `image` is exactly `sprite.png`:
|
||||
|
||||
- runtime uses a fixed grid topology of `8` columns x `7` rows.
|
||||
- frame size is derived from actual image dimensions:
|
||||
- `frame_width = image_width / 8`
|
||||
- `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`).
|
||||
|
||||
Reference in New Issue
Block a user