Opus Motion ★ Star on GitHub

Game & sports · loot-reveal

Loot reveal

Mobile-game reward moment: a wooden chest (or sealed card / medallion) drops in, shakes in three escalating beats while rarity-coloured light leaks out, bursts with a 2-frame flash, shockwave, god rays and particles, then an item card rises, flips to a faceted gem (or your image), stars pop in and a title banner stamps on.

A free, MIT-licensed game graphic from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

Loot reveal: three frames of the game graphic, start, middle and end
Loot reveal — start, middle and end of the 5.0-second motion.

What Loot reveal is for

Achievements, onboarding rewards, "you unlocked X" moments in apps, giveaway reveals and promo hooks. Set rarity for the colour set, image for the item art and title for the banner.

  • loot
  • loot box
  • chest
  • reward
  • unlock
  • achievement
  • rarity
  • legendary
  • card flip
  • god rays
  • burst
  • particles
  • gacha
  • game
  • mobile game
  • gamification
  • giveaway
  • reveal
  • banner
  • stars
  • treasure

Details

Category
Game & sports graphics
Length
5.0 s (150 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
title
Colour props
background
Image props
image
Mood
photo, 3d, night
Roles
subject

Use Loot reveal in Remotion, React or HTML

Remotion project

terminal
# copy this motion into your Remotion project
node cli/mgl.mjs add loot-reveal --to ../my-app/src

# render an mp4 (run in the library folder)
node cli/mgl.mjs render loot-reveal --props '{"title":"Aurora Gem","background":"#0b0e1e","image":""}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export loot-reveal --as mp4 --props '{"title":"Aurora Gem","background":"#0b0e1e","image":""}'

React / Next.js

tsx
import {MotionPlayer} from 'opus-motion-library/web';

<MotionPlayer
  motion="loot-reveal"
  props={{title: 'Aurora Gem', background: '#0b0e1e', image: ''}}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

html
<script src="opus-motion.element.js" defer></script>

<opus-motion motion="loot-reveal"
  props='{"title":"Aurora Gem","background":"#0b0e1e","image":""}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "loot-reveal",
      "props": {
        "title": "Aurora Gem",
        "background": "#0b0e1e",
        "image": ""
      }
    }
  ]
}

Loot reveal props

11 parameters — change any of them to make the motion yours.

PropDefaultWhat it does
title"Aurora Gem"item name on the banner
image""optional public/ path or URL for the item art (falls back to a faceted gem)
rarity"legendary"'common' #9AA4B1 | 'rare' #3B82F6 | 'epic' #A855F7 | 'legendary' #F59E0B (also sets 1-4 stars)
container"chest"'chest' | 'card' (sealed card flips open) | 'badge' (medallion splits)
foundLabel"You unlocked"small line above the banner
rarityLabel""override the rarity word on the card ("" = from rarity)
accent""override the rarity colour (hex, "" = from rarity)
background"#0b0e1e"dark base colour (tinted by the rarity colour)
shakeBeats3number of escalating shake beats before the burst
particles70burst particle count
seed4particle seed

Notes & credits

Technique sources:

  • prompt-corpus: loot-reveal (11 cases, awesome-opus5-5-videos)