Opus Motion ★ Star on GitHub

Game & sports · army-formation

Army formation

A painterly isometric battlefield with four faction armies of tiny unit sprites around banner shields: they spawn as white placeholders, flood with faction colour, bob, march inwards and trade arcing arrow volleys, with a selection ring on one army and a centre-out "initialised" title in red brackets.

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

Army formation: three frames of the game graphic, start, middle and end
Army formation — start, middle and end of the 6.0-second motion.

What Army formation is for

"AI models / teams / products compete" stories, strategy explainers, market-share battles, game trailers.

  • army
  • battle
  • strategy
  • isometric
  • rts
  • game
  • factions
  • units
  • spawn
  • march
  • arrows
  • volley
  • ai agents
  • competition
  • map
  • painterly
  • simulation

Details

Category
Game & sports graphics
Length
6.0 s (180 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
title subtitle
Colour props
grass background ringColor arrowColor titleColor bracketColor
Mood
3d
Roles
subject

Use Army formation in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render army-formation --props '{"title":"SIMULATION ONLINE","subtitle":"BATTLE BEGIN   CONQUER","grass":"#7FA35A","background":"#1C2928","ringColor":"#BFE6F0","arrowColor":"#ffffff","titleColor":"#ffffff","bracketColor":"#E0503C"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export army-formation --as mp4 --props '{"title":"SIMULATION ONLINE","subtitle":"BATTLE BEGIN   CONQUER","grass":"#7FA35A","background":"#1C2928","ringColor":"#BFE6F0","arrowColor":"#ffffff","titleColor":"#ffffff","bracketColor":"#E0503C"}'

React / Next.js

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

<MotionPlayer
  motion="army-formation"
  props={{
    title: 'SIMULATION ONLINE',
    subtitle: 'BATTLE BEGIN   CONQUER',
    grass: '#7FA35A',
    background: '#1C2928',
    ringColor: '#BFE6F0',
    arrowColor: '#ffffff',
    titleColor: '#ffffff',
    bracketColor: '#E0503C',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="army-formation"
  props='{"title":"SIMULATION ONLINE","subtitle":"BATTLE BEGIN   CONQUER","grass":"#7FA35A","background":"#1C2928","ringColor":"#BFE6F0","arrowColor":"#ffffff","titleColor":"#ffffff","bracketColor":"#E0503C"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "army-formation",
      "props": {
        "title": "SIMULATION ONLINE",
        "subtitle": "BATTLE BEGIN   CONQUER",
        "grass": "#7FA35A",
        "background": "#1C2928",
        "ringColor": "#BFE6F0",
        "arrowColor": "#ffffff",
        "titleColor": "#ffffff",
        "bracketColor": "#E0503C"
      }
    }
  ]
}

Army formation props

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

PropDefaultWhat it does
factions[{"name":"NOVA","color":"#E58682","unit":"#BE6E6C","chip":"#E58682","glyph":"star"},{"n…up to 4 armies {name, color, unit, chip, glyph}: unit = sprite colour, color = banner tint, glyph = star | ring | diamond | bolt
unitsPerArmy96units per army block (rows of 12)
spawnAt8frame the units pop in as white placeholders (colour floods ~15 frames later)
march0.25ground units per second the blocks advance towards the centre
volleystruearcing arrow volleys between armies
select1index of the army that gets the selection ring (-1 = none)
selectLabel"ATLAS BASTION"label on the selection leader line
title"SIMULATION ONLINE"centre title in red corner brackets ("" = none)
subtitle"BATTLE BEGIN CONQUER"second line under the title
titleAt66frame the title reveals centre-out (holds ~2 s)
push2camera push-in in %/s
grass"#7FA35A"plateau grass colour
seed6layout seed
background"#1C2928"colour behind the field (normally covered)
ringColor"#BFE6F0"selection ring and status text colour
arrowColor"#ffffff"volley chevron colour
titleColor"#ffffff"title and subtitle text colour
bracketColor"#E0503C"title corner bracket colour
statusLabel"IDLE"small status text next to the selection label

Notes & credits

Technique sources:

  • video x6 9.3-13.8 s (spawn, colour flood, selection ring, title)
  • video x6 13.8-46.9 s (marching armies, volleys)