Skip to content

Hall UX: wider portrait view, card only for cabinets in sight, quieter help - #110

Merged
dmccoystephenson merged 1 commit into
mainfrom
feat/hall-ux
Nov 30, 2026
Merged

dmccoystephenson merged 1 commit into
mainfrom
feat/hall-ux

Conversation

@dmccoystephenson

Copy link
Copy Markdown
Member

Four changes to the walkable hall (/hall/, arcade.danielstephenson.dev), found by walking it in a browser on desktop and on an iPhone 13 profile.

Changes

  • Portrait phones see the screens. At the default 62° vertical fov, a 390×664 view sees only about 39° across, so walking down an aisle shows mostly cabinet sides. HallWalk.viewFov(fov, aspect) widens the vertical fov on a tall view so it keeps at least 66° across (capped at 100°). The engine, the click/tap picker, the people layer and the play dolly (screenPose) all use it, and it is re-sent when the view changes shape. Landscape screens and the Field of view setting are unchanged. The portrait stand-off at a cabinet goes from 1.9 m to 1.55 m to suit.
  • The card names only a cabinet in sight. HallWalk.near used to offer a cabinet beside the visitor, outside the view (walking past Familiar showed its card). Now the visitor must face it, within about 73°. The walk to a chosen cabinet (click, tap, Tab, map) never turns the view (no auto-turn), so that cabinet stays offered unless it is behind the visitor or they walk off themselves.
  • Quieter help. It opened on every page load and covered the view for 9 s. On a phone at a cabinet, the card and help together covered half the screen. Now it opens by itself only on a first visit (arcade-hall.helped), and it closes on the first walk or look. "?" still opens it.
  • Phone bar. The "where" line showed a clipped "5.." up to 480 px; it now stays as the bar's spacer with no text. The two narrower rules it replaces are removed.

Tests

  • tests/browser/hall_walk_test.cjs: new tests for facing, the walked-to exception and viewFov. python -m pytest: 706 passed, 1 skipped.
  • Browser checks against tools/hall_dev_server.py (swiftshader): hall_ui_check, hall_people_check, hall_atmosphere_check and hall_fame_check all pass.
    • hall_ui_check needed two test fixes caused by the wider phone view. The floor tap now walks further and ends at a cabinet, where a phone hides the map on purpose, so the check steps back to the door first. Its replay-figure tap now tries points up and down the figure and, after a few tries, turns to face it, the same way the far-person step already did.
  • hall_play_check and hall_replays_check also fail on unmodified main locally (live-game 403s / replay timing), so those failures do not come from this branch.

Before / after (iPhone 13, from the door): the aisle now shows the env-lib-cpp and Tidewater screens instead of two cabinet sides.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LYNeuoaYC1Xr17cu7rARyR


drafted by Claude on behalf of Daniel Stephenson

…r help

- Portrait phones draw with a widened vertical fov (HallWalk.viewFov: at least
  66 degrees across, capped at 100 vertical) so an aisle shows screens, not sides.
- HallWalk.near needs the visitor to face a cabinet (~73 deg); one they chose
  to walk to stays offered unless behind them (the walk never turns the view).
- Help opens by itself on a first visit only and closes on the first walk/look.
- Phone bar hides the clipped "where" line up to 480 px.
- hall_ui_check: step back to the door before the map on a phone; tap a figure
  where nothing stands in front of it, turning to face it after a few tries.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LYNeuoaYC1Xr17cu7rARyR
@dmccoystephenson
dmccoystephenson merged commit 9875fe9 into main Nov 30, 2026
4 checks passed
@dmccoystephenson
dmccoystephenson deleted the feat/hall-ux branch November 30, 2026 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant