P4.1: integrate gem sprite sheet (768x128 RGBA, index order R,O,Y,G,B,P)
Key the painted checkerboard out of the provided gem art via an edge-connected flood fill (8-conn, light+desaturated predicate) so the gems' interior specular highlights are preserved, then slice the 6 gems by alpha bbox, premultiply-resize each to fit 108x108, and center one per 128x128 transparent cell in index order (red, orange, yellow, green, blue, purple).
This commit is contained in:
BIN
assets/gems/gems.png
Normal file
BIN
assets/gems/gems.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 106 KiB |
Reference in New Issue
Block a user