summaryrefslogtreecommitdiff
path: root/anim/test/fib.script
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-17 12:15:10 -0300
committerGabriel Schneider <[email protected]>2026-11-17 12:31:06 -0300
commit9ac990f4952e0c4357c5dcca0d48e23c5df0fb6e (patch)
treeff251ba8fc8796e8bbf7e3cd9c1512283d28b48c /anim/test/fib.script
parent9656105cb4c902213f281e658dd88286cc2df8ed (diff)
downloadcomputeranim-9ac990f4952e0c4357c5dcca0d48e23c5df0fb6e.tar.gz
computeranim-9ac990f4952e0c4357c5dcca0d48e23c5df0fb6e.zip
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.
Diffstat (limited to 'anim/test/fib.script')
-rw-r--r--anim/test/fib.script8
1 files changed, 4 insertions, 4 deletions
diff --git a/anim/test/fib.script b/anim/test/fib.script
index a300d19..52000a5 100644
--- a/anim/test/fib.script
+++ b/anim/test/fib.script
@@ -2,10 +2,10 @@
# (The pixel assertions written for the first layout were dropped when the
# frame became the debugger's context; new ones want a settled design: see anim/README.md.)
frames 2
-console set playing false
-console set t 5
+console set deck.playing false
+console set deck.t 5
screenshot .zig-cache/canim/fib-early.png
-console set t 14
+console set deck.t 14
screenshot .zig-cache/canim/fib-mid.png
-console set t 999
+console set deck.t 999
screenshot .zig-cache/canim/fib-end.png