Game Over: The Win Screen. Native 1920×1080, 6.5s at 30fps.
The end of the video as a win screen: a card is set down, a trophy chip drops onto it, the final score counts up with a chip spray, and a green play-again button is pressed.
Motion. The card is set down; the trophy chip spins in and is set down; the score counts (ease-out) and squashes at the end; chips spray; the button is set down and pressed onto its shadow. Why it moves. attention: ending on a win screen rewards the viewer and points them at the next action.
Mount
Copy every manifest file into your project (plus af-tabletop-runtime). Mount with a unique host id, data-composition-id="af-tabletop-game-over-16x9", data-composition-src="compositions/af-tabletop-game-over-16x9.html", data-duration="6.5" and data-variable-values. Use the variant whose size matches your project (16x9, 9x16, 4x5, 1x1): each is laid out natively, never scaled.
Content slots
Nested slots are JSON strings. Every slot is checked against constraints.json and measured against the layout before anything draws; the block stops with a message naming the slot and the fix (it never truncates or shrinks text).
title (required): {"type":"string","minLength":1,"maxLength":16}score (required): {"type":"number","minimum":0,"maximum":1000000000}text: {"type":"string","minLength":1,"maxLength":70}action: {"type":"string","minLength":1,"maxLength":26}prefix: {"type":"string","minLength":1,"maxLength":3}unit: {"type":"string","minLength":1,"maxLength":6}decimals: {"type":"integer","minimum":0,"maximum":2}
score counts up with prefix/unit.
Style: colourway (cream, kitchen, sky), accent (optional hex), footer, round (e.g. 3/5), exit (lift or cut).
Timing
6.5s. Everything has landed by 3.9s (60%), then the scene holds for reading (the lamp light drifts slowly over the table; text stays still) and every piece is lifted off the table over the last 0.5 s, leaving the empty table.
Example
``json { "title": "You win!", "score": 3870, "text": "Your £1,000 after 20 rounds, just by leaving it alone.", "action": "Play again: follow", "prefix": "£", "unit": "", "decimals": 0 } ``