Lotus3: hand-editable sprite pipeline (sheet image + converter)

- sprite_tool.py: export renders sprites.h into sprites_sheet.png
  (1120x560, 7x4 grid of 160x140 cells, 14px label strip, magenta bg);
  import cuts the sheet back into sprites.h with fixed cell order,
  magenta keying, halo cut (magenta excess > 35) and despill.
  Round-trip is exact via bit-replicating 565->888 expansion; crops
  re-trim tighter on each import.
- sprites_sheet.png: the editable asset sheet, tracked in git.
- sprites.h regenerated by the tool (canonical sprite names).
- Drop the original webp sprite sheets; the PNG sheet is the source now.
This commit is contained in:
Dejvino
2026-11-12 22:25:06 +01:00
parent 84b8753150
commit 3c56f834c2
4 changed files with 7087 additions and 3505 deletions
+6894 -3505
View File
File diff suppressed because it is too large Load Diff