A1: Style guide, palette and the woodcut print pass

docs/STYLE.md sets Tidewall's look: a drowned coast printed by hand. It has the
palette, shape language, character proportions, shading, UI motifs, audio
palette and a do-not-do list.

- Palette (src/client/style/palette.gd) is the one table of client colours.
  Every colour that was scattered over the views now names its entry, with
  values unchanged. test_palette fails on a colour literal anywhere else in
  src/client or src/app, and on a palette colour the guide doesn't list.
- Look sets up the sky, the salt-faded grading (saturation 0.86, contrast
  1.05), the sun and the print pass, for the match view and the capture scenes.
- folk_print.gdshader is one full-screen quad multiplied over the frame. It
  draws ink lines at depth jumps and creases (fading with distance, scaled with
  screen height), diagonal hatching cut into real shadow, and faint paper
  grain. Ground under the sea gets none.
- make style-captures renders a hamlet and a dock with and without the pass.

Closes #41

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-13 08:57:11 -05:00
co-authored by Claude Opus 5.5
parent ce89ca4929
commit d7c8ed7e6e
24 changed files with 651 additions and 76 deletions
+10 -10
View File
@@ -1,23 +1,23 @@
## Draws what moves in a match: players, the sky barge while it crosses, items lying
## in the world and sea chests. `sync()` matches everything to the simulation as it is
## now. These are stand-in shapes built in code, in the weathered seafaring palette of
## docs/ORIGINALITY.md: an oilskin coat, a sou'wester and a canvas wing-sail. The art
## docs/STYLE.md: an oilskin coat, a sou'wester and a canvas wing-sail. The art
## pass replaces them. Nothing here is ever used for collision.
class_name EntityView
extends Node3D
## Oilskin colours. A player's is picked by entity ID; the local player wears the first.
const OILSKINS: Array[Color] = [
Color(0.86, 0.66, 0.16), Color(0.56, 0.27, 0.20), Color(0.33, 0.55, 0.56), Color(0.36, 0.40, 0.30),
Color(0.48, 0.46, 0.44), Color(0.30, 0.36, 0.48), Color(0.62, 0.44, 0.28),
Palette.OILSKIN, Palette.OCHRE_RED, Palette.SEA_PAINT, Palette.OILSKIN_MOSS,
Palette.OILSKIN_SLATE, Palette.OILSKIN_NAVY, Palette.TANNED_SAIL,
]
const SKIN: Color = Color(0.74, 0.58, 0.46)
const CANVAS: Color = Color(0.84, 0.80, 0.68)
const TAR: Color = Color(0.19, 0.16, 0.13)
const PLANK: Color = Color(0.50, 0.45, 0.37)
const CHEST_SHUT: Color = Color(0.33, 0.55, 0.56)
const CHEST_OPEN: Color = Color(0.22, 0.20, 0.18)
const ITEM: Color = Color(0.93, 0.80, 0.42)
const SKIN: Color = Palette.SKIN
const CANVAS: Color = Palette.CANVAS
const TAR: Color = Palette.TAR
const PLANK: Color = Palette.PLANK
const CHEST_SHUT: Color = Palette.SEA_PAINT
const CHEST_OPEN: Color = Palette.HOLD_SHADOW
const ITEM: Color = Palette.GILT
## How far apart passengers stand on the barge's deck, in metres. The simulation
## carries them all at one point; this only spreads them out to be seen.
const DECK_SPACING: float = 1.3