[art] GardenerLayers: The gardener in layered parts, painted over one guide in register, checked on accept

This commit is contained in:
2026-11-17 21:53:22 +01:00
parent 0b72ae05a2
commit 229cced136
82 changed files with 1026 additions and 83 deletions
+18 -3
View File
@@ -150,9 +150,22 @@ Every gardener picture follows `gardener-sheet`.
- **The choices the player makes** (skin tone, hair style and colour, clothes colour, straw hat,
cap or none) are the app's (`gardener.schema.json`). The board paints **the first look** (the girl:
braids, brown hair, sage clothes, straw hat; and the boy, short hair, the same colours) so the
character can be judged. **How the other looks are drawn** (separate layers for hair and hat, or
clothes painted to be tinted in code) **is still open** and waits for Mark: it decides how many
pictures the gardener needs.
character can be judged.
- **Every look is stacked from painted layers** (decided by Mark 2026-11-17: *layered parts*, not a
few painted looks, not colours tinted in code). The app stacks five transparent layers, back to
front: **body** (skin, with the face, and a plain cream vest and shorts), **clothes** (the girl's
tunic or the boy's shirt and trousers), **apron and boots**, **hair**, **hat**. Each layer is a
sprite sheet with the same eight poses as `gardener-poses-sheet`, **the guide**: the girl in the
first look, whole, never shown in the app. A layer is painted over the guide in register — only
its part, exactly where it sits on the guide's figure, everything else transparent — and always
as a whole sheet: one picture at a time would not line up. `pnpm art:accept` refuses a layer
whose part strays more than 8 % of its cell outside the guide's figure, and any layer before the
guide is accepted. The layers never hold the watering can or the windbreak: the game draws them.
- **How many:** one layer sheet for each value the player can choose — 6 bodies (skin), 10 clothes
(girl and boy in 5 colours), 1 apron, 36 hairs (6 styles in 6 colours), 2 hats (no hat needs
none): **55 layer sheets** of 8 pictures, all listed by `art/manifest.json` (`layers`). The seven
that stack the two first looks come first on the board; until a look's layers are all accepted,
the app keeps its code drawing for that look.
- **Never:** a scarf, a long coat or cape, a suit with epaulettes, a crown, a sword, golden curls
with a green outfit, or anything that recreates the book's boy. He or she is a gardener at work.
- **Size:** standing, a little taller than the rose.
@@ -293,6 +306,8 @@ tick them: *Accept* is one tap.
apron, boots; no scarf, long coat, cape, suit, crown or sword, and nothing like the book's boy.
11. Her planet is a cultivated garden world: meadow, her bed, the wall, the chair; no volcanoes,
no baobab-like trees, no lone lamp post, and not the look of the book's little planet.
12. A gardener layer holds only its part, in register with the guide: stacked with the other
layers of a look, it makes one child, with nothing doubled, missing or shifted.
---