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/title.script | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'anim/test/title.script') diff --git a/anim/test/title.script b/anim/test/title.script index 9207ea6..950b722 100644 --- a/anim/test/title.script +++ b/anim/test/title.script @@ -1,4 +1,4 @@ frames 2 -console set playing false -console set t 999 +console set deck.playing false +console set deck.t 999 screenshot .zig-cache/canim/title-end.png -- cgit v1.3