Tyrbo Make your game

Papercraft game assets, folded to one diorama

A paper world sells itself on small things: the crease down a roof, the thickness of a card tree, light catching a cut edge. Those details have to agree from the first cottage to the last button, or the illusion of a model on a table goes. The harbor and the sailor below are a real run: a papercraft look seen from the side, then one character asked in it with no style words of its own.

npm install -g @tyrbo/asset

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

The commands

asset look village "papercraft diorama, warm light" --view top-down
asset image buildings "a folded paper cottage, a paper windmill, a card fir tree" --names cottage,windmill,fir
asset character fox "a fox traveller cut from orange card, a paper satchel" --via puppet --body quadruped
asset texture meadow "layered green paper grass seen from above"
asset ui "folded card, twine and paper tape"
asset startscreen "the paper village at sunset" --title "Paper Hollow"

Made by the CLI, not drawn for this page

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

walk, 12 frames at 6 a secondasset character sailor "a cheerful paper sailor with a striped shirt" --view side --clips idle,walk
A papercraft fishing harbor in warm light: cut-paper houses, a lighthouse, a pier, a sailor and a dog
asset look harbor "papercraft diorama, layered cut paper, soft warm light, a little fishing harbor" --view side
A papercraft sailor in a striped shirt and a sailor’s cap, seen from the side

One line from the CLI’s own docs

The first command above is the example the CLI’s own README opens with. It draws village.png, one scene of the game in play, and writes look.json next to it. The model fills the scene itself, a hero, a foe and a few things on the ground, so you see your diorama with life in it before any single asset exists. Every picture after it is asked with that scene as its reference, its words as the style, and top-down as the camera. If the first scene is not the paper you pictured, change the words and draw the look again before anything else; nothing later needs fixing that way.

Props without their card stands

Every picture comes back alone, standing on nothing: no ground, plinth, plate or shadow round it, trimmed so its bottom edge is where it stands. For a diorama that matters. A paper cottage arrives without a square of card glued under it, so your game lays it on its own ground and casts its own shadows. The cottage, the windmill and the fir in the second command are one call, one scale, three files, and each is read against the village scene and told how tall it stands there in hero heights.

Bring a photo of real paper

If you have folded a model yourself, photograph it and pass it as --ref on the look. --ref takes a picture’s style and nothing from it, so your scene borrows the paper, the light and the edges without copying the model. A concept sheet works the other way: --of concept/sheet.png stands the sheet’s own hero and things in the scene, drawn as the sheet draws them.

Anything a single kind of thing has of its own, such as visible glue tabs on the buildings or a hinge in a character’s legs, belongs in that thing’s ask rather than in the look.

Moving pieces that look cut out

A cut-out animal that bends at its joints is close to how a paper puppet moves. --via puppet takes that route: the fox’s one picture is bent into idle, a move, an attack, a hit and a defeat on one sheet, free, with --body naming its frame. Leave --via off and the clips are filmed by a video model from the picture instead. The interface and the title screen come last, so the menus, the logo and the key art are drawn in the same folded card.

Questions people ask

Is the sailor on this page a real output?

Yes. The harbor was the look, and the sailor was asked as a cheerful paper sailor with a striped shirt, nothing more. The cut-paper texture and the warm light came from the look, and his walk and idle were filmed by a video model from his picture.

Can the diorama be seen from the side?

Yes. Give the look --view side for a shadow box or a side scroller, or --view isometric for a model seen at an angle. Every later picture follows the camera the look was drawn with.

Can I get 3D paper models?

asset mesh makes a textured .glb from one picture. With no --ref, its design is drawn first in your game’s look, and you get that .design.png and a turntable to check before you use it.

Install it, then ask for the look.

Get an asset key

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