Ultimate RoguePlay

Devlog ·

A portrait for every thing

Every kind of thing in Ultimate Rogue now has a picture of its own, drawn by Claude Opus 5.5 in the game's own glyphs and shown in your pack. How we chose to make them, the rules that let one drawing show a flaming sword or a half-burnt torch, and what we got wrong on the way.

When you look at something in your pack, the card shows it big: a portrait twenty-four glyphs wide and twelve tall, in the same old VGA font the map is drawn in. Today almost everything there is just its map glyph blown up, a giant ) for a sword, a giant $ for a coin. Every kind of thing should have a real picture, but the pictures have to stay glyphs: Ultimate Rogue suggests things with characters, it doesn't paint them.

So this round of work asked two questions. How do you make a few hundred glyph portraits that look like one set? And can one drawing show what a thing is right now: steel or bronze, lit or out, full or nearly empty, enchanted or plain?

Four ways to draw one

The portraits are drawn by an AI model, Claude Opus 5.5, writing glyphs into a text file under the designer's eye. We tried four ways for it to work, on six things from a starting pack:

The same sword four ways: a tall crossguard sword drawn by hand; a short sword drawn from a picture; a noisy converted sword; and the cleaned version, a short sword with a fuller and a corded grip.
One sword, four ways. The converted one is noise where the picture is busy; cleaning keeps where everything sits and fixes the rest.

Drawing from nothing gave generic things: every sword a crossguard sword. The pictures brought real design (a short blade with a bar guard and a corded grip, a torch of split sticks in an iron cage), and the script got the proportions right even where its glyphs were a mess. Converting and then cleaning came out best by far, so that's how every thing is drawn now.

Four things in three steps each. A cartoon helm, war axe, gold coin and leather waterskin on bright magenta; beside each, a scatter of noisy coloured glyphs in roughly its shape; and beside that, a finished glyph portrait: a shaded steel helm with leather flaps, an axe on a wrapped haft, a gold coin with a face in profile, a bulging stitched waterskin.
From picture to portrait. The image model paints on flat magenta so the script can find the thing; the script's draft gets its size and where it sits; Opus 5.5 redraws every cell.

The picture is only a reference. Nothing of it reaches the game but what Opus 5.5 keeps: where each part sits, the shape of the helm's dome, the coin's gold. Every glyph, every colour and every shade in a finished portrait is one it chose.

One drawing, many states

A sword can be steel or bronze, burning or rimed with frost. A torch burns down; a flask of oil drains. Drawing each of those by hand would never end, so every portrait carries a hidden layer: a mask naming the part each glyph belongs to (the blade, the guard, the grip; a torch's fuel; a flask's contents), named the way the game names them. Then the looks are rules, the same rules the world itself draws by:

Four portraits: a sword wreathed in flame; a lit torch burnt halfway down, its head glowing; a glass flask half full of oil; a war axe whose head is pale with frost.
The same drawings as before, under four of the rules: a flaming sword, a torch half burnt, a flask half drunk, a rimed axe.

What we got wrong

The first gold coin came back from cleaning as a neat ring of lines, and it wasn't gold at all: Opus 5.5 had treated the converter's solid fill as noise. Then the second batch overcorrected, filling everything and turning some things into blocky pixel art, and stopped looking like the first batch. Both were fixed by writing the style down:

Light

Every cell now has a height, worked out from how far it sits from the edge of its part: a blade gets a ridge, a coin's rim stands up from its face, a shield's boss domes. So every cell faces some way, and a light can fall on it. Flames, embers and sparks are lights, so a flaming blade lights its own guard. In the portrait lab below, your pointer is a faint torch: it brightens what faces it and glints off whatever is glossy, metal most and cloth hardly at all. It only ever adds light. Move it away and the portrait is exactly as it was drawn.

A gold coin and a rough pink gem, each shown as drawn and then lit from the upper left, where the lit ones glint brighter.
A gold coin and a rough gem, as drawn and with the pointer just above and to the left.

Every thing, in the game

The first thirty-six were drawn one at a time. For the other hundred and twenty-seven, Opus 5.5 wrote the style down as a brief, split the things into families (blades and arrows, bars and ores, books and notes, food, bones and lamps, standing stones) and drew them nine families at once, each family the same stuff drawn the same way: seven ingots that differ only in their metal, three storage rings told apart by band and stone. Then it went over each family beside the first thirty-six and sent back what didn't read at a glance: a broken shield that had lost its outline, a coil of rope that looked like a plank, arrows lying flat when the first one stands.

That review, and a few of the family agents' own calls, broke the method's one law. Eleven drawings had been fixed by drawing them afresh, off their drafts: upright arrows over a draft of a flat one, a talisman made a paper strip over a draft of a disc, a bar made thicker to match the others. The draft is the whole point of the method, so they were done again properly. Where the pose was wrong, the thing got a new picture in the right pose and a new draft, and every drawing was made from its own draft. A check now holds each drawing to its draft (on it, and its size), and the tests run it.

The five spellbooks had been drawn as one book with a different emblem. Now a rule decides each cover: it's bound in its Name's colour (fire's orange, frost's blue), turned round the colour wheel where an earlier book's is too near. Its gold tooling (a frame, a device in the middle, brass fittings or none) is counted off by its place on the shelf, so no two books match. The picture is asked for that cover and the drawing is made from its draft. The colour is the book's colour in the game too.

Then the designer saw the portraits were smaller than they had to be. The converter fitted each picture with a row of margin all round, and sometimes tried it smaller still. Now it trims the picture to the thing and fits it to the whole square, so most things gained a third more cells. Every draft was made again, and Opus 5.5 drew all 163 portraits again from their new drafts, twelve families at once, taking only inks and parts from the old drawings, never their shape. Where a picture's pose fought the bigger frame, the law held. Two bars that had been pictured from above got new pictures of an ingot, and two torches painted alight got unlit ones, so the game's own fire has room to rise.

So now all 163 kinds of thing in the game have a portrait, and they're in it: open your pack and the card draws the thing you're looking at through the same rules as the lab. Your torch burns in it and burns down, an emptied flask of oil shows its empty glass, a blade remade in bronze is bronze, and once you know a weapon is flaming, it burns at rest in your pack.

Open the portrait lab

The lab has every one of them, the four ways side by side for the first six, and the rules to play with: set a sword alight, burn a torch down, drain the oil, light anything with your pointer. Some questions are still open: how an enchantment you haven't identified should look, and whether a coin should be drawn as big as a sword.

A note on how it was made: the work is Claude's (Opus 5.5), under the designer's direction. It wrote the converter, the rig and the rules, and drew every portrait in a text file one glyph at a time. The image model only gave it pictures to work from, and the designer judged every look before it stayed.

All devlog posts Updates Play