Game & sports · pixel-sprite-scene
Pixel sprite scene (state machine)
A native ~160x90 pixel night scene with dithered sky bands, twinkling stars, a pixel moon, stepped mountains and a ground line; a procedural wizard / knight / cat sprite loops idle, charge, cast, recover with palette-stepped particles, a 1 px moon rim light, 10 fps character timing and 1-2 px screen shake on the cast.
A free, MIT-licensed game graphic from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Pixel sprite scene (state machine) is for
Retro game promos, indie-dev trailers, nostalgic social posts and loading loops. Pass `sprite`, `palette` and `states` to retheme; for a lit-set storytelling look use lit-pixel-sprite instead.
Details
- Category
- Game & sports graphics
- Length
- 7.3 s (220 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- no
- Seamless loop
- no
- Text props
- —
- Colour props
- —
- Mood
- pixel, nature, playful, night
- Roles
- subject
Use Pixel sprite scene (state machine) in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add pixel-sprite-scene --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render pixel-sprite-scene --props '{"sprite":"wizard","customArt":[],"customPalette":{},"states":[{"name":"idle","frames":36},{"name":"charge","frames":42},{"name":"cast","frames":20},{"name":"recover","frames":28}]}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export pixel-sprite-scene --as mp4 --props '{"sprite":"wizard","customArt":[],"customPalette":{},"states":[{"name":"idle","frames":36},{"name":"charge","frames":42},{"name":"cast","frames":20},{"name":"recover","frames":28}]}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="pixel-sprite-scene"
props={{
sprite: 'wizard',
customArt: [],
customPalette: {},
states: [
{name: 'idle', frames: 36},
{name: 'charge', frames: 42},
{name: 'cast', frames: 20},
{name: 'recover', frames: 28},
],
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="pixel-sprite-scene"
props='{"sprite":"wizard","customArt":[],"customPalette":{},"states":[{"name":"idle","frames":36},{"name":"charge","frames":42},{"name":"cast","frames":20},{"name":"recover","frames":28}]}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "pixel-sprite-scene",
"props": {
"sprite": "wizard",
"customArt": [],
"customPalette": {},
"states": [
{
"name": "idle",
"frames": 36
},
{
"name": "charge",
"frames": 42
},
{
"name": "cast",
"frames": 20
},
{
"name": "recover",
"frames": 28
}
]
}
}
]
}Pixel sprite scene (state machine) props
12 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
sprite | "wizard" | 'wizard' | 'knight' | 'cat' | 'custom' (customArt + customPalette) |
customArt | [] | rows of characters for a custom sprite, e.g. ["..oo..","ohhho."] (.=transparent) |
customPalette | {} | map char -> hex colour for customArt |
states | [{"name":"idle","frames":36},{"name":"charge","frames":42},{"name":"cast","frames":20},… | [{name:'idle'|'charge'|'cast'|'recover', frames}] looped in order |
palette | {"sky":["#090C24","#0F1538","#17205A","#25347F","#3B4FA0","#6B79BF"],"star":"#FFF6D6","… | scene palette: sky[] bands (top->horizon), star, moon, far/near mountains, ground, hero colours, magic, rim |
particles | 26 | particle count (0 = none) |
pixelFactor | 12 | screen px per logical pixel at 1080 (12 = 160x90) |
spriteScale | 2 | integer scale of the sprite (2 = chunky 2x2 pixels) |
animFps | 10 | character / particle animation rate (8-12) |
shake | 2 | screen-shake px on the cast (0-2) |
moonSide | "right" | 'left' | 'right' (also the rim-light side) |
seed | 11 | star / particle seed |
Related motions

Palette LUT grade
Honest pixel-art day/night, mood shifts and spotlight effects that never leave the palette; the grading model for any pixel scene…
palette-lut-grade
Pixel platformer scene
Gaming channels, indie-game trailers, "level up" beats in explainers and nostalgic brand ads; set `events` to land coins and stomps on the…
pixel-platformer-scene
Lit pixel sprites
Retro-game storytelling, pixel mascots in a lit set, HD-2D mood; pairs with pixel-dither.
lit-pixel-sprite
Pixel reward burst
Unlock / reward / reveal beats in gamified product videos, giveaways and "new feature" reveals.
pixel-reward-burst
Firefly meadow night
Magical, cosy or calm night backdrop for bedtime stories, meditation / sleep apps, fantasy and fairytale titles, cottagecore, wedding /…
firefly-meadow-night
RPG menu UI
"Level up" product or skill announcements, comparison as a stat screen, career or version histories as save files, playful UI for game…
rpg-menu-ui
Notes & credits
Technique sources:
- prompt-corpus: pixel-sprite-scene (40 cases)
- awesome-opus5-5-videos prompts (MIT) — technique only