Phones: dual floating thumbsticks (move right, attack left)
TouchSticks: a finger on the right half of the screen is a move stick where it lands (the move_* actions), one on the left half an attack stick (the aim_* actions, with fire held past the aim dead zone, so the weapon attacks that way each time it's ready). Buttons get their touches first; the sticks only act while the scarecrow can, and a pause or freeze lets them go. On phones a tap is also an emulated left click, so fire and offhand lose their mouse buttons and ScarecrowCombat ignores emulated mouse events for its aim device. A held finger still skips the intro, and a tap skips the farmers' return. Docs: the first device run's numbers (night 20 held 60 FPS) and the sticks. Graph update. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
59aa97c7a3
commit
8c81d815eb
19 changed files with 3917 additions and 3655 deletions
|
|
@ -1,7 +1,9 @@
|
|||
# iOS test port
|
||||
|
||||
A one-day port to find out how Harvest Season runs on an iPhone before committing to touch
|
||||
controls. Played with a Bluetooth controller; measured with an on-screen readout.
|
||||
controls; measured with an on-screen readout. The first device run (2026-10-14, night 20, every
|
||||
enemy on the farm) held 60 FPS: no frame slower than 30 FPS, worst frame 19.7 ms, worst physics
|
||||
0.8 ms. Touch thumbsticks came next.
|
||||
|
||||
## What the phone build changes
|
||||
|
||||
|
|
@ -12,6 +14,11 @@ All behind `MobilePort` (game/scripts/mobile_port.gd), so the desktop build is u
|
|||
resolution scale; pixel size 1).
|
||||
- **No co-op:** the main menu's "Play with a friend" and the settings' Co-op section are hidden;
|
||||
the microphone is never opened (`audio/driver/enable_input.mobile=false`).
|
||||
- **Touch thumbsticks** (`TouchSticks`): a finger on the right half of the screen is a move
|
||||
stick where it lands, one on the left half an attack stick (aim that way, attacking each time
|
||||
the weapon is ready). Taps no longer count as fire, so moving never attacks; a held finger
|
||||
still skips the intro. Nothing else (interact, build, fear, weapons, pause) has a touch control
|
||||
yet; a paired controller does everything.
|
||||
- **Leaving the app pauses the game.**
|
||||
- **Perf test** (the iOS preset's `perf_test` feature): `PerfTest` shows frame times over
|
||||
everything, with buttons to jump to night 20 or 30, unlock everything, end the phase, and
|
||||
|
|
@ -43,13 +50,14 @@ Start the `ios-perf-test` workflow on the `main` branch (manual start). It takes
|
|||
15-25 minutes, then App Store Connect processes the upload (another 5-30 minutes). Install it
|
||||
from the TestFlight app on the phone.
|
||||
|
||||
Pair a controller in iOS Settings > Bluetooth (Xbox, PlayStation, or MFi). Menus also work by tap.
|
||||
Play with the thumbsticks, or pair a controller in iOS Settings > Bluetooth (Xbox, PlayStation,
|
||||
or MFi). Menus work by tap.
|
||||
|
||||
## The test
|
||||
|
||||
1. New vacation (hold to skip the intro) and get to the first morning.
|
||||
2. Tap **Night 20**, **Unlock all**, **Shield: on**, then **Next phase** until the night starts.
|
||||
3. Play the night with the controller: fight as usual, so crowds and combat are real. The shield
|
||||
3. Play the night (thumbsticks or controller): fight as usual, so crowds and combat are real. The shield
|
||||
keeps the scarecrow standing; the farm can still be stripped.
|
||||
4. At dawn the night's line reads "done". Screenshot it.
|
||||
5. Next morning: **Night 30** and repeat.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue