Phones: interface scale capped at 1.7; settings fields for wave 2

The user lowered the cap from 1.8 so the smallest iPhones (SE, 13 mini) keep a canvas about
635 px tall. GameSettings gains swap_sticks, camera_distance (FollowCamera.PHONE_DISTANCE) and
haptics, unsaved for now, so #38's apply_settings and #41's settings can be built in parallel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Forrest 2026-10-14 14:48:32 -04:00
parent f072bac176
commit 5392ae09af
4 changed files with 16 additions and 9 deletions

View file

@ -37,6 +37,11 @@ var player_name := ""
var microphone := true
## Phones: the Interface size, 0.8-1.3 times the scale the screen calls for (MobilePort.ui_scale).
var interface_size := 1.0
## Phones: the sticks swapped (move on the left: TouchSticks, TouchButtons), the camera's distance
## (FollowCamera, 8-20 m), and a short buzz when the scarecrow is hit. Saved and applied by #41.
var swap_sticks := false
var camera_distance := FollowCamera.PHONE_DISTANCE
var haptics := true
static func load_from(path: String = PATH) -> GameSettings: