4534ed6426199a83e958576a7b460e59e61d9c5c
T6 of spec #63. Tiles are requested only for the viewport plus one tile of margin, in viewport order, at most 8 at a time (TileScheduler); decoded textures are cached by URL so a reconnect refetches nothing; a 403/404 is remembered as denied and never retried. The browser image loader is the hot path, with one status fetch only to classify an error. Camera: drag to pan, wheel/pinch to zoom around the pointer/midpoint; players clamp at 0.5 (ADR-0013) and the GM has no player floor; both stop at 4.0. Grid is one TilingSprite toggled by #grid-toggle. Camera is local UI state, not a reducer slice, so hello/reconnect does not move the view. Tests: viewport/tile unit tests (clamps, margin window, 8-wide queue, denial, cache) and client/e2e/map.test.mjs (mobile viewport fill gate (a), grid, pinch, cache across reconnect, GM zoom, 403 no-retry) against the real server through TLS/h2. Tile-size gate (a) documented in client/README.md.
Description
No description provided
9.2 MiB
Languages
JavaScript
38.4%
Nim
38.3%
TypeScript
20.9%
Shell
1.9%
CSS
0.5%