Log inGet started
World

Sillage

Branchmain
Branchesmain
Commit27e62798a4

README.md

sillage_presentation

The authored screens of Sillage, and the house style every other sheet in the game borrows from: French pharmacy printing, 1954 — iron-gall ink on aged rag paper, a period face set with real letter-spacing, small caps, hairline and double rules, and a printed border round each plate. Two ink colours: the iron-gall browns (Core.ink.black / .text / .faded / .ghost, one pot at four strengths) and the correction red (Core.ink.red).

Every plate is composed down the 3:4 page — 1080 wide, 1440 tall — because nothing in this game spans the width.

The screens

screenwhat it is
sillage_titlethe title plate: fleuron, double rule, the name set at 116 pt, the dictionary definition, an engraved flacon with its blotters and its trail, the entry line
sillage_howtoone card teaching the one idea, with the drydown drawn on it: time running down the log axis Core.timeToFraction defines, the brief's target band in ghost ink, an accord in iron gall over it, and two corrections in red where the line leaves the band
sillage_hudthe standing chrome — a pinned docket at the top left carrying the commission, the francs, the reputation and the way to interrupt. Small, and never fighting the organ for the frame
sillage_pausea sheet laid over the shot, with the state of the atelier on it
sillage_endthe career as a printed record: six ruled rows of commission, client, verdict and fee, a total, the tally, and a stamp struck across the corner

What it offers other slices

local Presentation = require("ui.sillage_presentation")

Presentation.show("title" | "howto" | "end" | <any gameplay screen>)
Presentation.hud(true | false | nil)   -- nil returns it to automatic
Presentation.setPaused(true | false)
Presentation.togglePause()
Presentation.pushRecord({ commission = 4, client = "…", verdict = "accepted", fee = 2100 })
Presentation.records()

show sets Core.state.screen and emits screen:changed. A name that is not one of the three plates is gameplay: the plates drop and the HUD comes up.

The career record fills itself from the bus — brief:issued supplies the client, verdict:given the verdict and the fee — so a slice that only emits still gets a printed row. pushRecord is there for a slice that would rather say it directly. Verdicts are read loosely: whichever of result / grade / verdict / stamp / outcome is present, and anything reading as master / refus / accept lands in the right column.

Enter advances a plate; Escape raises and drops the pause sheet. No other key is claimed.

How the plates are drawn

Every vector mark is a canvas command list. The fleuron, the flacon, the teaching diagram, the reputation lozenges and the career stamp are all lists of paint commands, engraved once at a comfortable size and re-struck at any other through scaleCommands — points, radii, stroke weights and type scale together, so a bigger ornament is the same ornament.

Filled shapes are convex. The target band on the teaching diagram is laid down one trapezoid a step rather than as one long ribbon, and the flacon's silhouette — concave at the neck — is filled as three convex pieces with its outline stroked over them as a single closed path.

Paragraphs are set line by line. Copy arrives as a list of already-broken lines and becomes a stack of single-line labels, which puts the break points where a 1954 compositor would have put them and keeps each measure under the plate's width.