diff options
Diffstat (limited to 'examples/vecanim/test/intro.script')
| -rw-r--r-- | examples/vecanim/test/intro.script | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/examples/vecanim/test/intro.script b/examples/vecanim/test/intro.script new file mode 100644 index 0000000..9dd61bb --- /dev/null +++ b/examples/vecanim/test/intro.script @@ -0,0 +1,29 @@ +# Plays the intro headless on the GPU, with screenshots along the way, +# then the same instants on the CPU renderer. +frames 60 +screenshot .zig-cache/e2e/title.png +console set deck.t 7.5 +frames 1 +screenshot .zig-cache/e2e/shapes.png +console set deck.t 13 +frames 1 +screenshot .zig-cache/e2e/morph.png +console set deck.t 16.5 +frames 1 +screenshot .zig-cache/e2e/zoom.png +console set deck.t 24 +frames 1 +screenshot .zig-cache/e2e/text.png +key b +expect backend cpu +console set deck.t 13 +frames 1 +screenshot .zig-cache/e2e/morph-cpu.png +console set deck.t 24 +frames 1 +screenshot .zig-cache/e2e/text-cpu.png +key g +expect guides true +console set deck.t 16.5 +frames 1 +screenshot .zig-cache/e2e/guides.png |
