Opus Motion ★ Star on GitHub

Game & sports · rpg-menu-ui

RPG menu UI

Game systems as narration at native 320x180: FIGHT/ITEM/MAGIC/RUN with a bobbing hand cursor that hesitates, a party window with HP ticking down (red when low, greyed member, blinking KO), a level-up stat roll, a save-file list choosing NEW FILE and an item-get box, on a dithered blue window skin.

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

RPG menu UI: three frames of the game graphic, start, middle and end
RPG menu UI — start, middle and end of the 10.0-second motion.

What RPG menu UI is for

"Level up" product or skill announcements, comparison as a stat screen, career or version histories as save files, playful UI for game studios and dev content.

  • rpg
  • pixel
  • menu
  • game ui
  • level up
  • save file
  • battle
  • hp
  • cursor
  • 8-bit
  • jrpg
  • stat screen
  • retro
  • item get

Details

Category
Game & sports graphics
Length
10.0 s (300 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
—
Colour props
accent background
Mood
pixel, playful, ui
Roles
subject

Use RPG menu UI in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render rpg-menu-ui --props '{"accent":"#FFD23F","background":"#05060F"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export rpg-menu-ui --as mp4 --props '{"accent":"#FFD23F","background":"#05060F"}'

React / Next.js

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

<MotionPlayer
  motion="rpg-menu-ui"
  props={{accent: '#FFD23F', background: '#05060F'}}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="rpg-menu-ui"
  props='{"accent":"#FFD23F","background":"#05060F"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "rpg-menu-ui",
      "props": {
        "accent": "#FFD23F",
        "background": "#05060F"
      }
    }
  ]
}

RPG menu UI props

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

PropDefaultWhat it does
screens[{"type":"battle","t0":0,"dur":100},{"type":"levelup","t0":100,"dur":88},{"type":"save"…sequence of {type: battle|levelup|save|item, t0 start frame, dur frames}
skin"blue"window skin: blue | night | cream
party[{"name":"Ada","hp":120,"hpTo":34,"maxHp":150},{"name":"Bo","hp":31,"hpTo":31,"maxHp":9…battle party rows {name, hp, hpTo (hp after the hit, first member only), maxHp, dim}
item"Elixir"name shown in the item-get box
accent"#FFD23F"selection highlight colour
showCuesfalseshow tiny SFX cue tags (cursor, select, HP tick, fanfare, item get) for sound design
background"#05060F"letterbox colour

Notes & credits

Technique sources:

  • lemo-opuscar styles/pixel-rpg demo/ui.js + main.js + STYLE.md section 8 (MIT / CC BY 4.0, LemoLab)