Commit graph

4 commits

Author SHA1 Message Date
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
c47e67891e #37: platform back button, no Quit on phones, flat labels, camera
- Android back: application/config/quit_on_go_back=false; Main.go_back()
  (from NOTIFICATION_WM_GO_BACK_REQUEST, phones only) closes the shop or
  pouch panel or leaves build mode, else pauses; paused it closes the
  question, then settings, then resumes (shared with the pause action);
  at the main menu it closes the question or settings, else quits.
- Phones hide the main menu's Quit and the pause menu's Quit the game.
- ScreenLabels.ensure() makes the one ScreenLabels (ToonLook's on
  desktop; Main's on phones, which watch()es the tree for Label3Ds).
  Label sizes grow with the window's content_scale_factor (1 on desktop).
- FollowCamera starts at PHONE_DISTANCE (12 m) on phones.
- MobilePort.forced for tests; game/tests/mobile/platform_test.gd.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 14:36:26 -04:00
Forrest
938a4124df iOS test port: phone build switches, PerfTest overlay, Codemagic workflow
A one-day port to measure a late night on an iPhone before committing to
touch controls (docs/ios-test-port.md).

- MobilePort: on phones (the "mobile" feature) no ToonLook (standard
  materials, Mobile renderer), 3D at 0.75 resolution scale, co-op hidden,
  microphone never opened, and leaving the app pauses. `-- --mobile` and
  `-- --perf-test` turn the same switches on for desktop.
- PerfTest (the iOS preset's "perf_test" feature): frame time, physics,
  render CPU and GPU readout, a per-night summary (avg, p99, worst), and
  tap buttons for night 20/30, unlock all, next phase, and a shield.
  CampaignDebug's jumps also work in that release build.
- iOS export preset (export project only; bundle
  com.oatmealgames.harvestseason, team 823T4Q2T3U), an opaque 1024 icon,
  filled privacy purpose strings, ETC2/ASTC import, landscape both ways.
- codemagic.yaml: Godot 4.7.2 export, signing, .ipa, TestFlight upload.

Graph update.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 12:59:25 -04:00
Forrest
4298caf5cb updates 2026-10-04 12:07:36 -04:00