Image: GitHub
Why it mattersA small game that wanted a sprite seen from every angle used to need a full set of hand-drawn frames. A free agent skill now builds the 3D model for you.
An indie game that wants to show a pixel-art character from every side pays its artist for each extra angle. Daniel White released a free agent skill that builds a spinning 3D version from four flat views. The repository is MIT-licensed. It had 1,031 stars and 86 forks six days after the first commit.
The project is at github.com/danielwh2/sprite-stacking. The skill runs inside any coding agent that reads Claude Code skills. The README lists Claude Code, Codex, Cursor, OpenCode, Gemini CLI and Pi as supported clients.
How it works
The artist draws the character from four sides: top, front, side and back. The skill turns each view into a stencil. It then carves a block of voxels down to only the spots where all four stencils agree. What is left is a 3D version of the sprite, made from the artist's own pixels.
The skill then slices that block into flat horizontal layers. Each layer rotates on the spot and lifts by one pixel. From any angle, the layers stack into a sprite with real depth. The artist picks how fine the result is. The README suggests 15 to 20 layers for a chunky look. It suggests 32 to 48 for a detailed one.
What a game dev gets
A game made the usual way needs hand-drawn frames for every angle. Four views covers eight frames, eight if the artist repeats the mirror. A game that wants to show the character turning smoothly needs 16 frames or more. The skill replaces the extra frames with one 3D object the engine can rotate.
The sprite also takes light. The skill builds a normal map. A lamp on one side of the scene lights the matching side of the sprite. The sample viewer runs the sprite in a scene with weather. It also runs the sprite driving around on a generated world.
The audience and the trade
Sprite-stacking is a specific technique. Some indie games use it to get a 3D feel without a 3D pipeline. The skill does not fit every game. Hand-drawn 2D animation stays cheaper for a character that only ever faces one way. A proper 3D model stays better for a character with a face or a weapon at a chosen angle.
The trade the skill makes is that four pixel-art views give a 3D object good enough for a small-scale game. The artist stays in Aseprite or any pixel editor. The engineer never touches a 3D tool. The agent does the voxel carving, the slicing and the render setup. The sample projects in the repository show the result on characters a two-person team could have drawn.
Traction and limits
1,031 stars in six days is a real breakout for a solo project. 86 forks says people are trying it on their own art. The repository is new. There is no stable release tag. The history has 28 commits and one author. A larger project would want to pin a version. It would also want to test the skill on more sprite styles first.
Source
- Daniel White, sprite-stacking on GitHub
This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.
Get AI News in your inbox
New developer tools, model and agent releases, and how teams are actually using them to release software. Short, and only when there is something worth reading.