A sprite stacking generator for cars, trees and heroes
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.
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 godotMade by the CLI, not drawn for this page
Real files the asset CLI wrote, each under the command that made it.

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
See prompt
asset stack well "a round stone well with a little wooden roof and a bucket" --view top-down
See prompt
asset stack tree "a round leafy oak tree on a short trunk" --smooth --view top-downWhere 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--ofto rebuild free. - A model:
--ofa.glbvoxelizes it, free, and never writes over it. - A picture:
--ofa.pngis 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 or 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.
Install it, then ask for the look.
Get an asset keyMake a key in the Tyrbo app, then run asset login. Add --mock to try any command free first.