Sprite Production Field Notes

sprite ai

Give waypoint arrivals a separate event timeline

A delivery sprite crosses three waypoints and changes to a new cel at each corner. On a slow update it may cross more than one arrival before its next draw. The animation design needs a way to show the final position while still reporting the arrivals in order.

Specify each segment with a destination, duration, and optional arrival cue. For an illustrative test, use deadlines at 100 ms and 250 ms. Advance from 90 to 280 ms in one update. Record both arrival cues in order, then draw the pose appropriate at 280 ms. Repeat as several smaller steps and compare the event order and final position. Keep arrival cues separate from incidental draws so a dropped image cannot erase a required event.

The technical guide and test fixture shows Pygame Zero 1.2.1 interpolating a single destination coordinate pair. A nested waypoint list raises a type error in its native example. The per-segment timeline gives that primitive a complete route representation.

If each waypoint must remain visible for an authored hold, put the hold in the timeline as well. Record whether testing expects the viewer to see every authored hold or simply expects the game to dispatch its gameplay events.

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