fix(client): address PR #54 review — 7 items across Hoshe and Tyre
Critical: DIALOGUE_MAX_WIDTH 1200 → 640 to match D-076 spec. tile_renderer: clarify z = server floor level, not scene z_index. Add z-filter unit test (tiles at z!=0 must be skipped). Camera test: is_equal → distance check for float safety, convergence test frames 40 → 120 for robustness at lower smoothing speeds. Teleport: remove redundant first snap in _teleport_transition (the camera block in _process handles it via _teleport_in_progress flag). entity_renderer: document y-sort bottom-anchor migration path. 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 = 1200
|
||||
const DIALOGUE_MAX_WIDTH: int = 640
|
||||
|
||||
# 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