summaryrefslogtreecommitdiff
path: root/examples/vecanim/test/live.script
diff options
context:
space:
mode:
Diffstat (limited to 'examples/vecanim/test/live.script')
-rw-r--r--examples/vecanim/test/live.script24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/vecanim/test/live.script b/examples/vecanim/test/live.script
new file mode 100644
index 0000000..d955b6f
--- /dev/null
+++ b/examples/vecanim/test/live.script
@@ -0,0 +1,24 @@
+# Plays the live scene headless: it waits at each pause for a click, the
+# wave running on, the dots follow the pointer, and the guides draw over
+# everything.
+frames 150
+expect t 2
+screenshot .zig-cache/e2e/live-title.png
+click 640 360
+move 900 360
+frames 300
+screenshot .zig-cache/e2e/live-wave.png
+key g
+frames 1
+screenshot .zig-cache/e2e/live-guides.png
+key g
+click 640 360
+frames 150
+screenshot .zig-cache/e2e/live-damped.png
+key b
+expect backend cpu
+frames 1
+screenshot .zig-cache/e2e/live-damped-cpu.png
+click 640 360
+frames 120
+screenshot .zig-cache/e2e/live-end.png