Pixel RPG animation with Claude Code
A short film that behaves like a 16-bit console role-playing game is a pixel RPG animation, and Claude Code can make it. Claude draws each frame in code into a tiny indexed canvas, and HyperFrames renders it to MP4. ReelStyles sells this look as the Ember Cart kit, so the palette, font and menu rules are ready.
Below are the rules, the steps in Claude Code, a vertical prompt and the styles that sit closest. If you're new to films in code, start with my animated videos guide.
What makes the pixel RPG look
The native picture is 320 by 180 pixels, scaled up six times with nearest-neighbour to 1920 by 1080. It uses one fixed palette of 35 colours. Gradients are made only of ordered dither. Never blur, bloom or add scanlines.
Everything lives in the framebuffer, text included. The camera and every layer offset move in whole pixels, and each parallax layer rounds its own offset. A palette change, such as a fade in four steps, is a table swap and never an alpha blend.
The palette leans on warm amber against dusk-violet shadows. Ink is #14101f. Amber runs #8a3a1c, #d9722a, #f7a93a, #ffd96b and #fff3b0. Violet runs #4a1f6b, #8a3fbf and #c37af0. Red is for danger and the hero's scarf, green is home and safe, blue is the save crystal. A four-colour mode of indigo, slate, mint and cream stands for memory or an ending.
The game systems are the storytelling language. Dialog boxes type out letter by letter with a portrait at the left. Menus have a bobbing hand that stops when you select. Battles use a hop to attack, a white hit flash, knockback, a short screen shake and a rising damage number. The save crystal is a real rotating octahedron, flat-shaded into four blues.
Type is an original 5 by 7 capital font. Nothing smaller than 42 px at 1080p exists. Transitions come from the medium: a mosaic of blocks or a dither dissolve to white. Even flat areas move, with dither skies rippling, birds drifting and torches flickering.
Steps in Claude Code
1. Plan first
Plan a 30-second pixel RPG film called "My first month as a baker". Give me an overworld walk with three signposts, one battle against "the Burnt Loaf", a dialog scene and a save-crystal ending. List the dialog lines, each under 40 characters. Show me the plan before you write any code.
2. Build one scene and check stills
npx hyperframes lint . npx hyperframes snapshot . --at 1,3,6,9 -o snapshots
Check the stills. Are the pixels crisp, with no blur? Does the text fit the dialog box? Is the dither anchored to the world? Fix scene one before going on.
3. Render
npx hyperframes render . -o out.mp4 --quality looks --workers 2
Use --quality draft to check the typing and the menu hand. To add narration or a voice for the dialog, see how to add a voiceover.
A prompt to paste
Make a 30-second 9:16 vertical 16-bit pixel RPG film: a night shift at a lighthouse. 320 by 180 indexed pixels scaled up, ordered dither, warm amber against dusk violet. The hero with a red scarf climbs a spiral stair, a dialog box types "THE LAMP IS OUT.", a command menu with a bobbing hand offers LIGHT and WAIT, a battle against "the Fog" ends with a damage number, and a rotating save crystal closes the film. Mosaic transitions. Plan first, then show stills of scene one.
For a calmer version, drop the battle and keep only the overworld walk and the dialog.
Which styles come closest
The kit has the dialog, menu and battle systems and a note on each. The nearest ready styles:
| Style | Why it fits |
|---|---|
| Ember Cart pixel RPG | The direct version: 16-bit RPG screens and menus |
| Isometric pixel city | Pixel scenes with depth |
| HD-2D | Pixel sprites in a lit, deeper scene |
| Microgame frenzy | Quick game-screen gags |
They all come in one ReelStyles purchase, and you can try 10 styles free first.
What this method cannot do
It is a fixed-palette pixel look, so it does not suit realistic faces or smooth gradients. The kit is original, with no characters or music from existing games. Long dialog is hard to read, so keep lines short and the text size above the minimum.
Questions
Does it work for Shorts?
Yes. The kit has a vertical sample, and you can ask for 9:16 in the prompt. See YouTube Shorts in 9:16 with Claude Code.
Do I need to draw pixel art?
No. Claude draws sprites from simple shapes in code, with one outline and three tones per material. You approve the stills.
Can I make a game from it?
No. This is a film that looks like a game. It does not give you playable code or a game engine.
Sources
HyperFrames on GitHub (Apache-2.0). See the Ember Cart pixel RPG style page for the example film.