sprite sheet maker
Give a finite looping sprite its own final-pose test
When a sprite plays three times, the final frame can disappear during a seek to the exact end. In Qt 6.8.3, currentLoopTime resets at an intermediate wrap. At the finite endpoint it retains the full duration of the last iteration. A frame selector that applies modulo to the total clock can jump back to the opening pose at the endpoint.
Write down the contract for paused seeking, continuous playback, and reset. Suppose a 200 ms loop opens with a pose marked O and finishes with E. Sample a three-loop clip at 199, 200, 399, 400, 599, and 600 ms. The two interior boundaries should open a new repetition. At 600 ms, a player whose contract holds the last pose should display E until a restart or an explicit seek changes it.
Repeat the six samples through the scrubber and through the same frame selector used for playback. That checks whether the two consumers use the same duration table and endpoint rule. Capture their selected frame IDs alongside the clocks, since different cels can look the same. The Qt boundary readings behind the exercise are in technical guide and test fixture. A reset button can then deliberately return the player to O.
Prepared by the FrameSprite Workflow Team with AI assistance. Examples are illustrative unless attributed to a linked fixture.