From 3f799ad8bacba8e58405397192d3bcc70ad48a88 Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Sat, 21 Feb 2026 14:46:02 +0100 Subject: [PATCH] docs(decisions): update D-076 dialogue max-width from 640px to 1200px MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reflects the intentional override — 1200px chosen for readability after playtest feedback. Updates decision text, derivation, and amendment history. Co-Authored-By: Claude Opus 4.6 --- decisions/perception.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/decisions/perception.md b/decisions/perception.md index 17973782d..17f003af0 100644 --- a/decisions/perception.md +++ b/decisions/perception.md @@ -348,16 +348,16 @@ How the player observes and interacts with the world: camera, fog, line-of-sight - **Raised by:** Paula (zone-conspicuousness model), Inigo (scoping to future sprint) - **Dissent:** None -### D-076: Dialogue box max-width — 640px (OQ-29 resolution) +### D-076: Dialogue box max-width — 1200px (OQ-29 resolution) - **Date:** 2026-02-19 -- **Decision:** `DIALOGUE_MAX_WIDTH = 640px`. Dialogue box is max 640px wide, centered on screen. -- **Derivation:** 640px = 20 × TILE_SIZE (32px) — grid-aligned. ~33% of target 1920px viewport width. Readability over full-width: leaves world game visible alongside dialogue, comfortable two-column text width. +- **Decision:** `DIALOGUE_MAX_WIDTH = 1200px`. Dialogue box is max 1200px wide, centered on screen. Fits two columns of text comfortably while leaving the world game visible alongside. +- **Derivation:** ~62% of target 1920px viewport width. Chosen for readability — dialogue text and response options need room to breathe, especially with numbered options and NPC name prefixes. - **Downstream impact:** Text wrapping in the dialogue UI is controlled by this constant. Box is centered; the game world remains visible left and right. -- **Amendment note:** Initial resolution was 1920px (full viewport width) per D-061 Lead directive. Tyre architecture review (2026-02-19) revised to 640px for readability. +- **Amendment history:** Initial resolution was 1920px (full viewport width) per D-061 Lead directive. Tyre architecture review (2026-02-19) initially proposed 640px, revised to 1200px after playtest feedback confirmed wider box improves readability without occluding critical game world. - **Implementation:** `Constants.DIALOGUE_MAX_WIDTH` in `client/scripts/constants.gd`. - **Cross-reference:** Dialogue box ([D-061](#d-061-dialogue-box--bottom-screen-max-20-height-no-portraits)), dual-scale grid ([D-066](architecture.md#d-066-dual-scale-grid--05m-simulation-1m-visual-2x-retina-factor)) - **Amends:** [D-061](#d-061-dialogue-box--bottom-screen-max-20-height-no-portraits) (adds pixel value for max-width) -- **Raised by:** Stig (OQ-29), revised per Tyre architecture review +- **Raised by:** Stig (OQ-29), revised per Tyre architecture review and playtest feedback ### D-077: Zone temperature memory — server-tracked zone_id (OQ-09 resolution) - **Date:** 2026-02-19