fix(client): apply arch review corrections — 640px dialogue width, D-067 chime
DIALOGUE_MAX_WIDTH: correct to 640px (20 × TILE_SIZE) per Tyre architecture review. D-076 updated in decisions/perception.md with amendment note. Initial 1920px was D-061 "max-width" but readability wins at 640px. D-067 recognition chime: wire sfx_monologue_chime to fog entity recognition onset. AudioManager.CHIME_RECOGNITION constant added. main.gd tracks seen entity IDs in _known_recognition_ids; fires chime on first appearance in pending_recognitions, expires when entity leaves the queue. UISounds bus (not WorldSFX) per D-038 "monologue chime is a UI sound." Tests added to test_audio_bus_routing.gd (Layer 2b). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -91,10 +91,10 @@ const FACING_INDICATOR_SIZE: float = 6.0
|
||||
const FACING_INDICATOR_OFFSET: float = 14.0
|
||||
|
||||
# D-076 (OQ-29 resolution): Dialogue box max-width in pixels.
|
||||
# Target resolution: 1920×1080. Full viewport width = 60 × TILE_SIZE (32px).
|
||||
# Lead directive (D-061): "max-width" — full screen, not centered 50%.
|
||||
# Text readability is managed via font size and internal UI node padding.
|
||||
const DIALOGUE_MAX_WIDTH: int = 1920
|
||||
# 640px = 20 × TILE_SIZE (32px) — grid-aligned, ~33% of 1920px viewport.
|
||||
# Tyre architecture review 2026-02-19: readability over max-width; fits
|
||||
# two columns of text comfortably, leaves world game visible alongside.
|
||||
const DIALOGUE_MAX_WIDTH: int = 640
|
||||
|
||||
# #517: Implant UI font color grading — avoid pure white, project through a lens
|
||||
const IMPLANT_TEXT_COLOR: Color = Color("#E0F7FA") # Cyan-white — primary text
|
||||
|
||||
Reference in New Issue
Block a user