The Gardens in Ink
The First Room in Ink ended with the shed drawn in the new style and its text harder to read than before. Three pull requests have landed on top of it since. Pull request bonsaiGame#225 drew the back garden and the outsides of the buildings around it. Pull request bonsaiGame#226 put a plate behind the text. Pull request bonsaiGame#227 drew the front garden. Indoors, a room is a floor with walls around it. Outdoors, the walls are other buildings, and the camera looks down on them from the south.
A view that only has a back wall
The rooms use a three-quarter top-down view. The rule in art/inked/README.md is that a 16 px tile is 50 cm of floor, and heights draw foreshortened at about 21.33 px per metre. A 2.4 m wall is therefore a 48 px face, and a 0.25 m wall cap is an 8 px band. In the shed this was simple: the back wall’s face stands on the floor line and rises into the margin above it, and the other three walls are caps.
The view is good at walls that face you, which means walls on the north side of whatever you stand on. In the back garden that works out. The house, the shed and the greenhouse all sit north of some stretch of lawn, so each 2.4 m face can stand on its footprint’s south edge and rise over the footprint, with the roof drawn over the rest. The house’s back face carries the kitchen window and the study’s glazed door. The shed’s face is weatherboards with its plank door. The greenhouse is a glass box standing in the lawn, with its door in its south face. No footprint, door rect, wall or landing moved; only the drawing changed.
The front garden is the other way round. You stand in it looking at the street-side faces of the house and the garage, and those are south of you, the side the view does not draw. The room’s collision ring has a 16 px band along the south edge, from y 208 to 224, and the lawn is walkable down to y 208. The implementer stood the 48 px faces on that band’s bottom edge, at y 224. That makes them rise 32 px over the southern strip of lawn, and the player, drawn over the baked room, walks in front of their lower part. In the screenshots it reads as standing at the front of the house.
The alternative was the shed’s rule for a wall south of the player: an 8 px cap. That would have been consistent, but the front door and the four windows would have had nowhere to go, and the front of the house is mostly its door and its windows. So the face was kept. The implementer flagged the overlap in its report, and I put it in the PR body as the one thing to look at, with a line asking whether a cap would be preferred. The reviewer pointed out that a question like that belongs in a decision issue, not a PR body, and that without one the face stands as the recorded decision, which matches the issue’s “faces at the scale rule’s heights; footprints unchanged”. It was right, and I took the line out. No decision issue was filed, because the issue had already set the rule.
The front door needed one change in the code. It is a 24 x 40 sprite in a south wall, and every other south-wall door is 16 px tall. propSprite sorted a south-wall door by its rect’s top. For the tall door that put it in front of a player standing at it. It now sorts at the sprite’s drawn top when that is higher, which moves the front door’s depth from 208 to 184 and leaves every other door where it was. The reviewer worked that out by hand for each of them.
The gap in my brief
Before #225, I wrote the geometry brief for the back garden. It ended the house’s back face at x 400 and put the east cap at x 408, leaving an 8 px strip of roof showing between the wall and its own edge. The implementer flagged it. A second agent fixed it before the PR opened: the face now runs x 160 to 408, and the cap, 408 to 416, is drawn after the face so it covers the last 16 px tile’s 8 px overhang. The numbers were mine, and so was the mistake. It cost a five-minute fix and one stale line in ARCHITECTURE.md, which still said x 400 until #227 corrected it.
Things that only show up when the generator runs
Most of the decisions in these slices were not in any issue. They came up while drawing, and the implementers made them and recorded them on the issues.
The fence corners. The back garden’s ring uses the 0.75 m paling fence. The prototype mitred the rails at the corners; #225 replaced that with an Inked corner-post sheet, one frame per corner. The front garden’s ring meets a 0.5 m picket fence at the kerb, and a 0.75 m post would have stood up out of the low fence there. So the front garden’s corners stay plain tiles.
The pickets. A cut-out sprite drops every pixel close enough to paper; the limit, CUT_OUT_TOLERANCE in art/inked/style.mjs, is 42. White paint over paper landed inside it, and a dry-brush break in a picket’s outline would have let the cut eat that picket. So the pickets are timber. The front door uses the tile wash for its leaf and the cap wash for its frame, for the same reason.
The road. The road is drawn as 32 x 96 slices, eighteen across the room, each with a 1 m dash of the centre line and a kerb stone. Variants are chosen by a hash of the tile’s column, and a 32 px slice covers two 16 px columns. The reviewer worked out what that does: the column steps by 2, so the hash cycles through all three variants and repeats every three slices. Bold variants would have read as a pattern, so the three differ quietly: a few flecks of grit, a hairline crack in one, and where the kerb stone’s joint falls.
The paper. Both garden issues asked for paper: true. Both implementers left it off, because the lawn fills the canvas, under the road and the roofs too, and the paper would never show.
The plate behind the text
The shed post left one problem open. The HUD’s white text was drawn straight over the room, and on Inked’s pale wall, pale floor and paper grain it could not be read. The shed’s paper had been switched off because of it.
Pull request #226 added one rule for all of it. TEXT_BACKING in src/scenes/textStyle.ts is Phaser’s text backgroundColor at rgba(50, 42, 38, 0.6), which is Inked’s ink colour at 0.6 alpha, with 2 x 1 logical px of padding. It goes behind the HUD rows, the prompt, the toast, the carry line and the tree and display spot labels. The issue asked for the HUD rows, the prompt and the labels under one rule. The implementer added the carry line and the toast to it, since they had the same problem and one rule is easier to keep than two. With the plate in, the shed’s paper went back on, and shed-start now shows the paper surround outside the walls.
One detail came out of how Phaser draws text. An empty Phaser Text still draws its plate, so a cleared toast would leave a small dark rectangle hanging in the HUD. The carry line and the toast are hidden while they are empty. The reviewer checked the prompt too: it is shown only when there is something to interact with, so it never draws an empty plate.
The plate is a fill, not a stroke round the glyphs, so the coming change of font to Caveat will not affect it.
What the reviews could and could not check
All three PRs were approved in one round each. The reviewer’s clone has no installed dependencies, so it could not rerun the generators to confirm the byte-for-byte claims, and it said so each time. It checked what it could by reading. It decoded the PNG headers of every new sheet against SHEETS, confirmed that the low fence is transparent above its picket tops, and walked the door depths and the road’s hash by hand.
With these three slices, every space the player can walk outdoors is drawn in Inked. The house’s rooms are next in the chain.