← All posts
RoomsArt

The Town Square

Room 270 is the town square: the little green in the middle of Mordavia where Erana’s Staff stands on a boulder and quietly protects the town. The square is the third town room to be repainted, and the first one built to look back at the other two. This post is long, because I want to show how much checking goes into one background, including the parts that went wrong.

Sierra's original background for room 270, the town squareThe remake's room 270, the same part of the pictureSierra, 1994Remake
Room 270, the town square: Sierra’s screen, and the same part of the new painting

First, the barrel. In the comments on “Stitching Mordavia together”, EldRoos asked about “the barrel -> well transformation”. In the bottom-left corner of the town street Sierra painted a barrel, and my repaint had a stone well. That was a choice: I thought a well worked better for a town. But his question made me remember that the game refers to that barrel directly, so I went back and had the text for room 260 checked. It does: “The open barrel is about half full of rain water,” and you can fill a flask from it. A well doesn’t fit those lines, so the well is gone and the rain barrel is back. Thank you, EldRoos.

The bottom-left corner of room 260 three times: Sierra's barrel, the first repaint's stone well, and the new rain barrel by the gatepost
The corner of room 260: Sierra’s barrel, my well, and the barrel put back (it has since moved a few steps, as explained further down)

That check changed how I work. Before a room is called finished now, it is checked against everything Sierra left behind: every description in the game’s text for that room, every line in other rooms that talks about the place, and every clickable area in Sierra’s script. The same check on the street turned up a second thing: a set of panels beside the General Store sign that Sierra’s text calls a window, probably to one of the Inn’s guest rooms. It is glass now.

Rooms 260 and 280 joined as one panorama, with the rain barrel at the bottom left
Rooms 260 and 280, one painting (this picture is kept current: see the end of the post for what has changed since)

What the square looks at. Every screen in the town faces north. Stand in the square and you are looking up at the town street from further back, and the game says so: “To the north you can see the buildings of the town.” Sierra painted a rough suggestion of houses there. The remake doesn’t have to suggest, because that street now exists as one finished painting. So the background of room 270 is that same painting, placed at 55% of its size, with the big oak landing behind the boulder just as Sierra’s tree does. The signs, the doorways, the arch beside the Inn and the front of Dr. Cranium’s house are all where they are when you walk up there.

The 260 and 280 panorama above, and room 270 below with a gold box showing where the same panorama sits at 55 percent size
The panorama of rooms 260 and 280, and where it sits inside room 270

What we decided before painting. The version of this room that’s in the game today had drifted from Sierra: the mound had moved and grown, and the view behind it no longer matched the street. So, back to Sierra’s layout. The mound itself had never looked right to me. It always looked messy. Sierra’s text is clear about what it is: “The huge boulder raises a solitary wooden staff high above the clearing,” with “beautiful out-of-season flowers” all around it and green grass around that. One boulder, flowers at its foot, a round lawn, bare earth. And the sun rays that make this room what it is would not be painted into the picture. They would be their own layer, so they can fade with the time of day.

The starting picture: the finished street across the top, Sierra's pixel art for room 270 below it
Where it started: the finished street across the top, Sierra’s own room 270 underneath, both in their measured places

What went wrong. Quite a lot. The first drafts came from the same image model that painted the street. I had over-corrected the messy mound by asking for something smooth, clean and tidy, and that is exactly what came back: cartoon boulders on a putting green. I had also asked for a pile of boulders when Sierra says one. The third draft got the layout right, and it is still the skeleton of the final picture, but its rock was a soft slab with flowers smeared over it. Next I tried repainting the boulder on its own, as a close-up, through three different image models. Every one of them looked fake: fine by itself, wrong beside the buildings.

What worked: realistic first. The idea that turned it around was to work backwards from higher quality. Instead of asking for a painted boulder, ask for a real one. So the third draft was first turned into something close to a photograph of the same scene: real stone, real grass, real dirt. Then that photograph was repainted in the style of the finished street, using a piece of the street as the example to copy. Both steps were rendered with local models. A boulder that started out real kept its weight when it became a painting. Drag across the picture below to see the two steps.

The realistic version of room 270The realistic version repainted in the style of the town streetStep 1: realisticStep 2: repainted
Realistic first, then repainted in the street’s own style
The boulder in an early draft, soft and smeared, beside the boulder in the final painting
The boulder in an early draft, and in the final

Putting the real street back. The repaint step redraws everything it is given, including the far street, and a redrawn street is no longer the street: the signs drift and the stones change. So a depth map of the picture was used to tell near from far, and everything far was replaced with the real panorama again, tinted toward the new picture’s light. I tried it two ways, with the far street’s two oaks taken from the repaint or from the finished street painting. The finished painting’s oaks won, so the trees you see from the square are the same trees you walk under.

Three layers, the way Sierra did it. Sierra’s room 270 is not one picture. It is a background, a boulder the hero can walk behind, and the two big trees that stand in front of everything. The remake keeps that and adds the rays as a layer of their own. I started with gentle rays. Then I looked again at Sierra’s, which are so strong you can barely make out what’s behind them, and matched that. One detail came from looking closely: Sierra’s rays never wash over the boulder. They fall behind it. Ours do the same. I also tried letting them spill onto the lawn, which left a hard-edged patch of light, so that went.

Three panels: the painting without rays, the sun rays alone, and the boulder alone
The room in pieces: the painting, the sun rays, and the boulder

The audit. This is the part I most wanted to show. Sierra’s screen was 320 by 190. The remake’s rooms are wider, 500 by 234 of the same units, with Sierra’s screen sitting inside them at a known place, so anything Sierra positioned can be laid over the new painting exactly.

The new room 270 with Sierra's 320 by 190 screen outlined inside it
Sierra’s screen inside the wider painting

Below are the clickable areas from Sierra’s script for this room, drawn over Sierra’s picture and over the same part of ours. The archway box lands on the arch beside the Inn without any adjusting. The town’s buildings, the grass and the two trees fall where Sierra’s do, and the tree roots meet the bottom edge at the same two points. Where we differ, it’s written down: our boulder has its peak at the same height as Sierra’s but is about a third wider and sits lower at the foot, and the knot in the left tree (“It’s not a tree; it’s a knot in a tree!”) is further left, outside Sierra’s old screen but inside our wider one. Those are changes to where you click, not to the painting.

Sierra's clickable areas for room 270 drawn over Sierra's picture and over the same part of the remake's painting
Sierra’s clickable areas over Sierra’s picture and over the remake

Then the text. Every line that describes this place was read against the picture, from this room and from the rest of the game: Piotyr placing the staff “in the town square”, where “a garden of flowers instantly sprung up around it”; Tanya remembering that it “always made such pretty flowers in town”; the townspeople who sit by the Staff and fall asleep there. Nothing was missing. One line will need a second look: through the archway Sierra says you can see “the west side of town”, and ours shows the lane climbing to the monastery.

And one the audit missed. After all of that, I looked at the finished room and couldn’t find the rain barrel. If the square looks at the street, the barrel EldRoos asked about should be there too. It wasn’t, because only the upper part of the street painting had been carried into this room: the house fronts, but not the ground in front of them. I had checked room 270 against Sierra, but not against my own room 260. The first fix, the same barrel shrunk and dropped onto the lane, looked ridiculous. So the barrel was redrawn once, complete, as an object of its own that isn’t painted into either background, and it moved a few steps to the foot of the gatepost beside the west oak. Both rooms now draw that one barrel at the same spot in town: large in the street, small from the square. The cobblestones around it came along too, so the ground agrees as well. It is a short walk from Sierra’s corner, and the spot you click to fill a flask moves with it.

The same corner of town in room 260 and in room 270: the rain barrel and the cobblestones by the gatepost
The same corner of town from both rooms: one barrel, the same cobbles

The Staff. The Staff isn’t in the painting, because in the game it is an object: it speaks, it animates, and later in the game it can leave its boulder. As a first test I placed Sierra’s own little sprite at Sierra’s own coordinates. Its foot lands on top of our boulder. The test also showed why the rays matter. Without them, the Staff sits in front of a brown door and a brown oak and disappears. With them, it stands out, just as it does in the original.

Sierra's Staff sprite placed on the new boulder at Sierra's coordinates, with the rays off and on
Sierra’s Staff sprite at Sierra’s position: rays off, rays on

Then it got a Staff of its own. Sierra’s sprite is only 26 pixels wide, so I went through every frame of it and the inventory icon to work out the shape: a thin shaft that snakes from side to side, with a short hooked head. The new Staff is a 3D model built from that shape, in dark wood so it holds up against the light. My first try at standing it on the boulder looked exactly like what it was, a picture pasted onto a rock. So the stone was repainted where they meet: split, cracked and closed tight around the shaft, as if it had been driven in long ago. That socket belongs to the boulder, and it will still be there on the day the Staff is gone.

Erana's Staff as a 3D model standing in a cracked socket in the boulder, close up and in the room with the sun rays
Erana’s Staff in its socket: close up, and in the room

As before, to be plain about how these are made: the paintings are AI-generated under my direction, then measured, masked, corrected and checked piece by piece. Room 270 is a working final, like 260 and 280. None of the three is in the game yet.

And the street moved again. These are working finals, and they proved it the same day this post went up. budbuz went through rooms 260 and 280 point by point against Sierra’s art, and most of his points held. Room 250 has a single bare tree, so the orange leaves I had painted beyond the street’s archway had no business being there. What shows over the arch wall now is the real room 250, placed and sized like everything else, and through the arch a dirt path climbs the hill toward it. In room 280 the carving over Dr. Cranium’s door was redone by laying Sierra’s own pixels over the painting and repainting them as plain carved stone. His windows have two panes now, like Sierra’s. Sierra shows a lattice window through that room’s archway, so it’s there. His walls became old plaster, his roof got two matching gables, and the house runs further back, with another house behind it. The bottom right corner lost its urn and its ironwork: Sierra’s script has nothing there but a low wall, so now there is barely a kerb. And the street, which had ended up with half a dozen kinds of paving, is one cobbled street again. Because the square looks at all of this, room 270 was updated to match.

Rooms 260 and 280 joined as one panorama after the latest changes
Rooms 260 and 280 as they stand now

Next. Room 250, outside the Adventurers’ Guild, gets the same daylight and the same check. Then room 290, the town gates. Night versions of every room come last, made from the finished day pictures so the two line up. After that come the doors, windows, lamps and people, and since the square looks straight at the street, whatever is open, lit or walking about up there will need to show here too.

Thank you again to EldRoos for asking about the barrel, to budbuz for the stitch that started all of this, and to everyone in the Quest for Glory AI Arts group on Facebook and elsewhere who looks closely and says what they see. Keep doing it. It makes the game better.

Let me know what you think in the comments below.

Discussion

Comments