Skip to content

art: add player sprite sheet validation groundwork (#140) - #142

Merged
EyalRo merged 2 commits into
mainfrom
art/140-sprite-validation
Oct 17, 2026
Merged

EyalRo merged 2 commits into
mainfrom
art/140-sprite-validation

Conversation

@MaayanHaim

Copy link
Copy Markdown
Collaborator

Scope

Adds scripts/validate_player_sheets.py, a Pillow-based validator for the indexed player sprite sheets specified in #140.

Checks palette order against ntba.gpl, indexed PNG mode, palette index 255 transparency, legal indices, frame dimensions and transparent margins, manifest frame/origin/clip contract and role ramps.

Status

Draft / partial implementation. The actual hand-authored replacement sprite art is not included yet; existing placeholder PNGs remain unchanged. The issue's former reference branch is no longer present, but the palette, manifests and placeholders are now on main.

Run

python3 -m pip install Pillow && python3 scripts/validate_player_sheets.py

Closes no issue; groundwork for #140.

@EyalRo
EyalRo marked this pull request as ready for review October 17, 2026 17:21
@EyalRo
EyalRo merged commit 39acd1c into main Oct 17, 2026
2 checks passed
@EyalRo
EyalRo deleted the art/140-sprite-validation branch October 17, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants