From 9ac990f4952e0c4357c5dcca0d48e23c5df0fb6e Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 17 Nov 2026 12:15:10 -0300 Subject: anim: scripts drive the player's deck sketchbook's stock player now keeps its playhead in an anim.Deck, so the scripts set deck.t and deck.playing where they set t and playing. anim.Frame has no clock field any more: the two cursor tests stop setting it. (A paused playhead set past the end holds the end, as it did: the player that looped it back to 0 was fixed in sketchbook.) Verified zig build test in anim: 203/203 steps; scene durations and play counts unchanged against the old library's screenshots. --- anim/test/intro.script | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'anim/test/intro.script') diff --git a/anim/test/intro.script b/anim/test/intro.script index 4b0a0f7..3ccc278 100644 --- a/anim/test/intro.script +++ b/anim/test/intro.script @@ -2,12 +2,12 @@ # timeline without failing (I's bytes regrouping, II's rdi opened into its # parts, III's push, IV's map at the close). frames 2 -console set playing false -console set t 14 +console set deck.playing false +console set deck.t 14 screenshot .zig-cache/canim/intro-memory.png -console set t 99 +console set deck.t 99 screenshot .zig-cache/canim/intro-registers.png -console set t 143 +console set deck.t 143 screenshot .zig-cache/canim/intro-stack.png -console set t 999 +console set deck.t 999 screenshot .zig-cache/canim/intro-end.png -- cgit v1.3