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:
Binary file not shown.
|
After Width: | Height: | Size: 144 KiB |
Reference in New Issue
Block a user