summaryrefslogtreecommitdiff
path: root/examples/vecanim/test/intro.script
blob: 9dd61bb4ba0d959f3b871bc1206b7836a3fb2c4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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