Sprite Production Field Notes

sprite ai

Set two acceptance checks for a translucent Solarus icon

A generated HUD icon can pass the visual review and still fail a test that compares its raw source colors to a composed surface. Solarus can blend a translucent fill when writing it to the surface. The stored color from that operation can already differ from the fill arguments. Approve each stage against the data it actually represents.

Use separate golden samples for import and game display

Choose an interior pixel with partial coverage and an opaque neighboring pixel. For the import test, decode the delivered PNG and compare both source tuples to an approved asset. For the display test, composite the icon over the actual HUD background and compare the resulting pixels to an approved game capture. Add a second background color during diagnosis so a difference that was masked by the first background becomes easier to see.

Name each expectation after the stage it covers. An opaque control helps isolate failures to the translucent path. Retain the alpha-bearing source even if your release build caches a flattened HUD layer. This keeps a background revision from forcing the artist to reconstruct the icon’s original coverage. FrameSprite’s technical guide and test fixture shows where fill arguments and readback differed in a native fixture.

Prepared by the FrameSprite Workflow Team with AI assistance. Examples are illustrative unless attributed to a linked fixture.