feat(ui): entity-anchored dialogue log with keyboard selection
Log entries store entity IDs and resolve display names at render time from _entity_display lookup — enables retroactive name update when player learns an NPC's real name. Color index from server replaces name-hash coloring for stable NPC colors. Dialogue options: switched RichTextLabel to Label (fixes stacking bug), added 1/2/3 number key selection, numbered option labels. Interaction list: added background panel, mouse hover highlighting, click-to-interact, pointing hand cursor. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -94,7 +94,7 @@ const FACING_INDICATOR_OFFSET: float = 14.0
|
||||
# 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
|
||||
const DIALOGUE_MAX_WIDTH: int = 1200
|
||||
|
||||
# Default camera zoom — used as fallback when get_camera_2d() returns null
|
||||
const CAMERA_DEFAULT_ZOOM: Vector2 = Vector2(2.0, 2.0)
|
||||
|
||||
Reference in New Issue
Block a user