summaryrefslogtreecommitdiff
path: root/test/scene_compiled.script
blob: 3c9ef446290b9efe8e842f5ba68b4a6ca9bfa994 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# The compiled test scene, through the player, and exported ({frames}:
# 30 fps, 640x360, so half size, played once without the player's controls).
frames 30
screenshot .zig-cache/anim/compiled-written.png
console set t 1.5
frames 1
screenshot .zig-cache/anim/compiled-morph.png
# Frame 68 is 2.27 s in: the dot over the panel's corner, at half size.
expect-pixel {frames}/000068.png 400 240 88 196 221 255 1
expect-pixel {frames}/000068.png 250 235 42 42 48 255 1
# No bar of controls along the bottom, and the last frame is the end, 3 s.
expect-pixel {frames}/000068.png 8 352 28 28 31 255
expect-pixel {frames}/000090.png 0 0 28 28 31 255