Blocky avatar animation with Claude Code
A film that looks like it was captured inside a kids' block-building game is a blocky avatar animation, and Claude Code can make it. Claude writes the world and the avatars as three.js code, and HyperFrames renders MP4. ReelStyles sells this look as a ready kit with a flat 2D story mode too. Below are the rules, the steps, a vertical prompt and the styles that sit nearby.
What makes the blocky avatar look
The avatar is simple. A cube head carries a printed flat face. The torso is a rectangle, and the arms and legs are blocks that swing stiffly from the shoulder and hip. Faces do the acting: eyes, brows, a blush or a tongue are swapped on the beat, not the pose.
The world is chunky and low-poly: a sky obby course, a lava floor, a block city, a classroom, a bedroom or a spawn lobby. The blocks are big, not a grid of tiny cubes. Shading is toy plastic with one soft studio key, bright saturated colour and bouncy motion with jump arcs and squash on landing.
One switch picks the sub-style. classic has sharp edges and studs on platform tops. modern is rounded and glossy and is the default. horror goes near-black with a flickering red key and fog. cartoon-story uses big heads and pastel light for story-time Shorts. Keep one sub-style from start to end.
There is also a flat 2D story mode for 40 to 45 second "what if" kid stories. It uses cut-out avatars with an 8 px dark outline #2a1b3d and one flat darker shade side. The face carries the comedy, and a new picture arrives every one to three seconds.
Captions look like game UI and stay short. Every body stands on something with a contact shadow. Never name a real game or platform in the film, and never copy real items or maps. Say "blocky 3D avatar game look" and let Claude invent the rest.
Steps in Claude Code
1. Plan first
Plan a 30-second vertical film in the blocky 3D avatar game look, modern sub-style. A hero crosses a lava floor course. Five shots, each with the world, the avatar's face on that beat, the camera move and a caption of four words or fewer. Show me the plan before any code.
2. Build one scene and look at stills
npx hyperframes lint . npx hyperframes snapshot . --at 1,3,6,9 -o snapshots
Check that the face reads at phone size, every avatar stands on something and the blocks are the right sub-style. Go a few rounds before you render.
3. Render
npx hyperframes render . -o out.mp4 --quality looks --workers 2
Run --quality draft first to check the jumps. For narration, see how to add a voiceover.
A prompt to paste
Make a 30-second 9:16 vertical film in the blocky 3D avatar game look, cartoon-story sub-style. A big-headed hero loses a pet robot at a school fair. Walk through a block city with a sad face, sit alone in a classroom, then a friend waves and the hero's face swaps to a huge grin. Soft pastel light, bouncy jumps, game-UI captions of four words or fewer. Plan first, then show me stills of shot 1.
For a scarier take, switch the sub-style to horror and set the story at night in an empty lobby.
Which styles come closest
If you like chunky toy shapes with simple faces, these ready styles are the closest:
| Style | Why it fits |
|---|---|
| Blocky avatar game | The direct version, with four 3D sub-styles and a 2D story mode |
| Voxel diorama | Cube worlds with a cinematic grade, but smaller cubes |
| Toy studio | Plastic 3D toys on a studio set |
| Round pseudo-3D toy | Rounded toy figures with a soft handmade feel |
They all come in one ReelStyles purchase, and you can try 10 styles free first.
What this method cannot do
Characters here are stiff by design. You get block limbs and swapped faces, not fluid acting or lip sync. The look also avoids any real game, so a film that must match one specific title is out of scope.
Questions
Does it work for Shorts?
Yes. The kit has a vertical template, and the 2D story mode was made for 40 to 45 second vertical stories. Ask for 9:16 in the prompt.
Do I need to draw faces?
No. Faces are code. You pick from eyes, brows and mouths such as happy, huge, worry and scream, and Claude swaps them on the beat.
Can I keep the same avatar in every video?
Yes. Each character is a recipe with shirt, pants, hair and cap colours. Save those values once and reuse them in every film.
Sources
HyperFrames on GitHub (Apache-2.0). See the Blocky avatar game style page for the example film.