Commit graph

5 commits

Author SHA1 Message Date
Forrest
5d14fed3ec Merge #42: panels at phone scale
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 15:31:15 -04:00
Forrest
e8729b41e8 #42: panels at phone scale
On phones (MobilePort.active()) the morning sign, the end screens, and the
workbench's and shed's menus sit in the safe area; their long part scrolls
(UiTheme.TouchScroll: a finger drag scrolls and never presses, a tap does)
with Start the day / the end buttons / Close always in view below it; rows
and buttons are at least the touch target; long text wraps. Desktop layout
is unchanged (panels_test checks the 1920x1080 rects against the old ones).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 15:28:25 -04:00
Forrest
0c401171f3 #41: menus and settings at phone scale
On phones the main menu, pause menu, question box, and settings fit the
scaled canvas inside the safe area, with buttons and rows at least 44 pt
tall (19.5:9 at 1.6x, the iPhone SE at the 1.7 cap, 4:3 iPads). The
pause menu puts its buttons in a column beside the rest.

Phone settings: Audio, Touch (Interface size, Swap sticks, Camera
distance, Haptics, and a short touch-controls guide), Display (3D
resolution scale), and Gameplay. The list scrolls by dragging, and a
slider only moves after a mostly sideways drag. GameSettings saves the
touch settings under [touch] and applies them live (&"touch_controls",
the follow camera on phones). A hit buzzes the phone with Haptics on.
Desktop menus are unchanged. Test: game/tests/mobile/menus_test.gd.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 15:20:15 -04:00
Forrest
215e24e246 UI and other changes 2026-10-07 13:41:38 -04:00
Forrest
4298caf5cb updates 2026-10-04 12:07:36 -04:00