Recipe · landscape · 5 scenes
Game trailer (20 s)
A 20-second trailer or store teaser for a game: logo sting, gameplay shot with the in-game HUD, three impact hits, a loot reveal and a release date. Works for mobile, indie and arcade titles.

Motions in this recipe

Chrome title slam
Retro title cards, gaming / esports intros, event posters and Y2K chrome brand moments; the extruded, slammed cousin of `chrome-80s-title`.
chrome-title-slam
Ken Burns push / pull / tilt
Turning any still (AI art, photo, illustration) into a living shot; emphasis punch-ins on a caption beat; cold-open tilt reveals of tall…
ken-burns
Game HUD (bars, score, combo, minimap)
Game trailers, gamified product demos and esports-style highlights; `background: "transparent"` overlays it on footage. Rename the labels…
game-hud
Impact frame (flash, shake, punch)
Beat drops, fight and comedy shorts, stat slams, game trailers. Set `scene: false` and `background: "transparent"` to lay the flash +…
impact-frame
Loot reveal
Achievements, onboarding rewards, "you unlocked X" moments in apps, giveaway reveals and promo hooks. Set rarity for the colour set, image…
loot-reveal
Embers & gold flecks
Warmth, fire, magic, craft/forge or luxury beats; drop over any dark scene as an additive ambience layer.
embers
Mask-rise title
Chapter titles, principle/step headers, end-card headlines and list reveals.
mask-rise-title
Use it in Remotion, React or HTML
CLI
# render the recipe to out/game-trailer-20s.mp4 (run in the library folder)
node cli/mgl.mjs recipe game-trailer-20s
# copy just this recipe's source into a Remotion / React project
node cli/mgl.mjs add game-trailer-20s --to ../my-app/srcReact
import {MotionMix} from 'opus-motion-library/web';
<MotionMix recipe="game-trailer-20s"
playOnView
/>HTML
<script src="opus-motion.element.js" defer></script>
<opus-motion recipe="game-trailer-20s">
</opus-motion>recipes/game-trailer-20s.json
{
"id": "game-trailer-20s",
"title": "Game trailer (20 s)",
"useFor": "A 20-second trailer or store teaser for a game: logo sting, gameplay shot with the in-game HUD, three impact hits, a loot reveal and a release date. Works for mobile, indie and arcade titles.",
"format": "landscape",
"background": "#0b0e1e",
"tags": [
"game",
"trailer",
"gameplay",
"hud",
"loot",
"reward",
"chest",
"launch",
"release date",
"indie",
"mobile game",
"arcade",
"esports",
"teaser",
"impact"
],
"scenes": [
{
"duration": 100,
"transition": {
"type": "flash",
"variant": "plain",
"frames": 10
},
"layers": [
{
"motion": "chrome-title-slam",
"props": {
"text": "EMBERFALL",
"subtitle": "A NEW ADVENTURE",
"background": "#0b0e1e"
}
}
]
},
{
"duration": 150,
"transition": {
"type": "glitch",
"frames": 12
},
"layers": [
{
"motion": "ken-burns",
"props": {
"src": "demo/desert.jpg",
"mode": "push",
"rate": 3,
"punchAt": -1,
"grain": 0.05,
"vignette": 0.45
}
},
{
"motion": "game-hud",
"props": {
"theme": "modern",
"background": "transparent",
"accent": "#ff7a3c",
"score": 48250,
"feed": [
"You>Raider",
"You>Brute 02",
"Kai>Sentry",
"You>Warden"
],
"levelUp": "LEVEL UP!",
"scoreLabel": "SCORE",
"level": 7
}
}
]
},
{
"duration": 110,
"transition": {
"type": "flash",
"variant": "plain",
"frames": 8
},
"layers": [
{
"motion": "impact-frame",
"props": {
"scene": true,
"at": [
16,
44,
72
],
"words": [
"RUN",
"STRIKE",
"RISE"
],
"colors": [
"#f4efe4",
"#ffd23f",
"#15151c"
],
"accent": "#ff3b30",
"flash": "both"
}
}
]
},
{
"duration": 150,
"transition": {
"type": "fade",
"frames": 12
},
"layers": [
{
"motion": "loot-reveal",
"props": {
"title": "Emberheart Gem",
"rarity": "legendary",
"container": "chest",
"foundLabel": "NEW RELIC",
"background": "#0b0e1e"
}
}
]
},
{
"duration": 130,
"layers": [
{
"motion": "embers",
"props": {
"mode": "sparks",
"background": "#0b0e1e",
"backdrop": false,
"count": 40,
"opacity": 1
}
},
{
"motion": "mask-rise-title",
"from": 6,
"props": {
"variant": "stack",
"lines": [
{
"word": "COMING"
},
{
"word": "SPRING 2027."
}
],
"sideCopy": [
"Wishlist now on every",
"major store."
],
"sideMono": [
"EMBERFALL.EXAMPLE.COM"
],
"backdrop": "none",
"background": "transparent",
"ink": "#F4EFE6",
"muted": "#9AA0AE",
"accent": "#ff7a3c",
"cropMarks": false,
"exit": false
}
}
]
}
],
"overlays": [
{
"motion": "film-look",
"from": 0,
"duration": 600,
"props": {
"overlay": true,
"grain": 0.05,
"vignette": 0.3,
"flare": false,
"letterbox": "off",
"bloom": 0,
"fringe": 0
}
}
],
"notes": "Replace the game name and tagline (chrome-title-slam), pass your own gameplay still or footage frame to ken-burns.src and your HUD values (game-hud.bars, score, feed; theme arcade | modern | pixel), the three impact words, the loot-reveal item (title, rarity, container, image) and the release-date lines. Recolour chrome-title-slam.skyColors / sunColors / neon for your palette. For footage, replace ken-burns with a screen-recording clip and keep game-hud transparent on top."
}