Opus Motion ★ Star on GitHub

HUD · fight-hud

Fight HUD

A two-player fighting-game HUD: slanted red and blue health bars with a crescent-moon (or countdown) emblem between them and italic caps names, draining with a delayed white damage-ghost; the default preview stages two original fighters trading a hit on a neon arcade floor.

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

Fight HUD: three frames of the HUD graphic, start, middle and end
Fight HUD — start, middle and end of the 4.0-second motion.

What Fight HUD is for

Any head-to-head comparison staged as a game: benchmark battles, A/B tests, product duels; overlay-capable with background "transparent" and demoScene off.

  • fight
  • hud
  • health bars
  • arcade
  • fighting game
  • versus
  • overlay
  • game ui
  • timer
  • damage
  • duel
  • comparison

Details

Category
HUD & sci-fi interface graphics
Length
4.0 s (120 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
—
Colour props
—
Mood
neon, nature, hud, ui, night
Roles
accent, subject

Use Fight HUD in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render fight-hud --props '{"background":"transparent","players":[{"name":"Ember","color":"#99322E","color2":"#CB665D","hpKeys":[[0,1],[52,0.72],[80,0.55]]},{"name":"Splash","color":"#2567D2","color2":"#5AA1EC","hpKeys":[[0,1],[56,0.8],[90,0.62]]}],"emblem":"moon","timerFrom":60}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export fight-hud --as webm-alpha --props '{"background":"transparent","players":[{"name":"Ember","color":"#99322E","color2":"#CB665D","hpKeys":[[0,1],[52,0.72],[80,0.55]]},{"name":"Splash","color":"#2567D2","color2":"#5AA1EC","hpKeys":[[0,1],[56,0.8],[90,0.62]]}],"emblem":"moon","timerFrom":60}'

React / Next.js

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

<MotionPlayer
  motion="fight-hud"
  props={{
    background: 'transparent',
    players: [
      {
        name: 'Ember',
        color: '#99322E',
        color2: '#CB665D',
        hpKeys: [[0, 1], [52, 0.72], [80, 0.55]],
      },
      {
        name: 'Splash',
        color: '#2567D2',
        color2: '#5AA1EC',
        hpKeys: [[0, 1], [56, 0.8], [90, 0.62]],
      },
    ],
    emblem: 'moon',
    timerFrom: 60,
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="fight-hud"
  props='{"background":"transparent","players":[{"name":"Ember","color":"#99322E","color2":"#CB665D","hpKeys":[[0,1],[52,0.72],[80,0.55]]},{"name":"Splash","color":"#2567D2","color2":"#5AA1EC","hpKeys":[[0,1],[56,0.8],[90,0.62]]}],"emblem":"moon","timerFrom":60}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "fight-hud",
      "props": {
        "background": "transparent",
        "players": [
          {
            "name": "Ember",
            "color": "#99322E",
            "color2": "#CB665D",
            "hpKeys": [
              [
                0,
                1
              ],
              [
                52,
                0.72
              ],
              [
                80,
                0.55
              ]
            ]
          },
          {
            "name": "Splash",
            "color": "#2567D2",
            "color2": "#5AA1EC",
            "hpKeys": [
              [
                0,
                1
              ],
              [
                56,
                0.8
              ],
              [
                90,
                0.62
              ]
            ]
          }
        ],
        "emblem": "moon",
        "timerFrom": 60
      }
    }
  ]
}

Fight HUD props

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

PropDefaultWhat it does
background"transparent"backdrop when demoScene is off ('transparent' = overlay)
players[{"name":"Ember","color":"#99322E","color2":"#CB665D","hpKeys":[[0,1],[52,0.72],[80,0.5…two players {name, color, color2, hpKeys: [[frame, hp 0..1], …]} — hp eases 6 f, ghost follows 8 f later
emblem"moon"'moon' (crescent face) | 'timer' (counts down from timerFrom seconds)
timerFrom60timer start in seconds
skew6bar skew in degrees
demoScenetruestage the neon floor and two original fighters behind the HUD (preview; turn off as an overlay)
graintruespray-grain speckle (demo scene only)
seed5grain seed

Notes & credits

Technique sources:

  • video x7 14.55-25.35 s (health bars, moon emblem, damage ghost) — original fighters