# A sprite stacking generator for cars, trees and heroes

> Make sprite stacks for a 2D game from words, a picture or a 3D model: the slices, a turning sheet picked by heading, and a .glb, pixelated or smooth.

- URL: https://tyrbo.ai/sprite-stacking-generator
- Title: Sprite Stacking Generator: Slices, Sheet and a glb
- Language: English (en)
- Updated: 2026-11-26

Sprite stacking draws a thing as a pile of flat slices, each one a step higher than the last, so a top-down car can turn in place and still look solid. `asset stack` builds those slices from a few words, from a picture, or from a 3D model, and writes them three ways: the slice strip, a sheet of the thing already turned for engines that just play frames, and a `.glb` of the same volume.

Send this to your agent

```
Set up Tyrbo asset gen for me so I can make my game's art, sprite sheets, animated characters, 3D models, UI and sound from here, all in one look.
1. Install the CLI: run `npm install -g @tyrbo/asset` (Node 20.11 or later).
2. Add the skill: in Claude Code, run `claude plugin marketplace add https://cdn.jsdelivr.net/npm/@tyrbo/asset/.claude-plugin/marketplace.json`, then `claude plugin install tyrbo-asset@tyrbo`. In another MCP client, add the MCP server `npx -y @tyrbo/asset mcp`. In any other agent, read `asset --help` before the first call.
3. Check it, free: in an empty scratch folder, not my game's, run `asset look grove "hand-painted fantasy forest, soft dappled light" --view top-down --mock`. It needs no key and writes stand-in files there.
4. Authenticate: ask me to make an asset key at https://app.tyrbo.ai/?from=/asset-generator#/settings/assets (Settings, Asset gen) and to run `asset login` in my own terminal, pasting the key there. Never ask me for the key in chat, and never run `asset login` yourself. Once I have, run `asset spend` to see it works.
Once that's done, let me know when it's ready.
```

[Get an asset key](https://app.tyrbo.ai/?from=/asset-generator#/settings/assets)[Read the docs](https://tyrbo.ai/asset-generator/docs)

## The commands

```
asset look yard "chunky pixel art backyard racing, bright toy colours" --view top-down
asset stack racecar "a red open-wheel race car with white racing stripes, a big number 7 on its nose and a rear wing" --view top-down
asset stack tree "a round leafy oak tree on a short trunk" --smooth --view top-down
asset stack goblin "a goblin archer" --character
asset stack racecar --of stack/racecar-recipe.json
asset convert racecar --to godot
```

## Made by the CLI, not drawn for this page

Real files the asset CLI wrote, each under the command that made it.

![The red race car’s 12 pixel slices spread apart, coming together into the car, then turning round](https://tyrbo.ai/asset-gen/yard/racecar-slices.webp)

### See prompt

`asset stack racecar "a red open-wheel race car with white racing stripes, a big number 7 on its nose, four fat black tyres, a driver in a yellow helmet in the cockpit and a rear wing" --view top-down`

![The stone well’s 26 pixel slices spread apart, coming together into the well, then turning round](https://tyrbo.ai/asset-gen/yard/well-slices.webp)

### See prompt

`asset stack well "a round stone well with a little wooden roof and a bucket" --view top-down`

![The oak tree’s 90 smooth slices spread apart, coming together into the tree, then turning round](https://tyrbo.ai/asset-gen/yard/tree-slices.webp)

### See prompt

`asset stack tree "a round leafy oak tree on a short trunk" --smooth --view top-down`

## Where the voxels come from

A stack is a block of coloured voxels, and there are four ways in:

- **Words**: a cheap model writes a recipe of boxes, balls, cylinders, cones and wedges, about a tenth of a cent, kept as `stack/<name>-recipe.json`. Edit it and pass it back with `--of` to rebuild free.
- **A model**: `--of` a `.glb` voxelizes it, free, and never writes over it.
- **A picture**: `--of` a `.png` is puffed out from its silhouette, round through the middle and thin at the rim, free.
- **Slices you drew**: a strip of `--slices N`, bottom first, read as it is.

`--via mesh` sculpts a model first and `--via shape` codes one, for things words alone describe poorly.

## Pixelated or smooth

By default a stack is pixel art: 32 voxels, light stepped into bands, a one pixel outline. `--smooth` builds it at 96 voxels, lights it softly and makes its model one eased surface, which suits a painted or cel look. `--voxels` sets the grid yourself, and `--turns` how many angles the sheet holds. A pixel sheet is marked so Godot and Unity draw it with crisp, unfiltered pixels.

## Turned by its heading, never by the clock

A fixture's sheet holds `idle` and `turn`. A `--character` gets `idle` and `walk` for each facing as well. The game asks for `turn` with the thing's heading every frame, and the 2D starter shows the frame facing that way, moving or parked, so a car keeps pointing where it drove after it stops.

Alongside the sheet come `<name>-slices.png`, `<name>.stack.json` saying what each file is, the `.glb` and its turntable. `asset convert` takes the result into [Godot](https://tyrbo.ai/ai-sprites-for-godot) or [Unity](https://tyrbo.ai/ai-sprites-for-unity).

## Questions people ask

### Which parts cost anything?

Only the recipe from words, about a tenth of a cent, and a model sculpted or coded first with `--via`. A stack from a recipe, a picture, a model or your own slices is free.

### Can a person be a sprite stack?

Yes. `--character` makes idle and walk for each facing plus the turn, for chunky heroes and villagers in a voxel style.

### What camera angles work?

`--view` takes top-down, isometric, front or side, each tilting the camera its own amount, so the slices read as solid from that angle.

## Sprite sheets

- [Top-down RPG character sprite sheet](https://tyrbo.ai/top-down-rpg-character-sprite-sheet)
- [Isometric character sprite sheet](https://tyrbo.ai/isometric-character-sprite-sheet)
- [Pixel platformer hero sheet](https://tyrbo.ai/pixel-art-platformer-hero-sprite-sheet)
- [Walk cycle sprite sheet generator](https://tyrbo.ai/walk-cycle-sprite-sheet-generator)
- [3D model to sprite sheet](https://tyrbo.ai/3d-model-to-sprite-sheet)
- [Enemy sprite sheet generator](https://tyrbo.ai/enemy-sprite-sheet-generator)
- [AI sprite sheet generator](https://tyrbo.ai/ai-sprite-sheet-generator)

## More from the asset generator

- [Asset generator](https://tyrbo.ai/asset-generator)
- [Docs](https://tyrbo.ai/asset-generator/docs)
- [AI 3D model generator for games](https://tyrbo.ai/ai-3d-model-generator-for-games)
- [Auto-rig a 3D model for games](https://tyrbo.ai/auto-rig-3d-model-for-games)
- [Game UI generator](https://tyrbo.ai/game-ui-generator)
- [AI sprites for Godot](https://tyrbo.ai/ai-sprites-for-godot)
- [Game assets for Claude Code](https://tyrbo.ai/ai-game-assets-for-claude-code)
- [Pixel art asset generator](https://tyrbo.ai/pixel-art-asset-generator)

## Install it, then ask for the look.

[Get an asset key](https://app.tyrbo.ai/?from=/asset-generator#/settings/assets)

Make a key in the Tyrbo app, then run asset login. Add --mock to try any command free first.

---

This is the Markdown version of https://tyrbo.ai/sprite-stacking-generator, from Tyrbo (The AI game engine). Cite and link the page itself. Every page: https://tyrbo.ai/llms.txt