tasks: check off #38 (touch action buttons); graph update

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Forrest 2026-10-14 15:31:03 -04:00
parent c439925cd1
commit d3390614ee
10 changed files with 90 additions and 78 deletions

View file

@ -423,7 +423,18 @@ in `game/tests/mobile/` (one file per task) and run with `-- --suite=test_mobile
## Wave 2 (parallel, after wave 1)
- [ ] **#38 Touch action buttons.** Blocked by #35. Blocks #40.
- [x] **#38 Touch action buttons.** Blocked by #35. Blocks #40. *(merged e435b76 — `TouchButtons`
(inner `Pad`: round STOP pads, press via `Input.action_press`, release held ≥ 1 physics tick;
process ALWAYS, hidden and released while paused, under a menu/shop/pouch/sign/end panel);
Pause → `pause_requested` (Main.pause); Fear always while playing, Bomb once the off-hand is
bombs, Patch when hurt with straw, Use from `Interactions.focus_info()` (not `focus()`: name
clash; dimmed when refused), Build by day ("Done" in build mode); layout keeps out of
`TouchButtons.reserved()` (built from other widgets' constants: update with #43);
`TouchSticks.move_on_right` + `apply_settings`, `TouchSticks.move_on_right_now()` behind
`Prompts.move_side()`; a stick finger's drags/lifts read in `_input`; Main calls
`apply_settings` after adding both; for #40: TouchSticks still fires in build mode, add the
build set's ids to `ALL`/`ACTIONS`/`ICONS`; for #43: `ScarecrowHud._draw_health()` logs
"triangulation failed" as a patch starts (heal_frac ≈ 0; skip the sliver under ~2 px))*
`TouchButtons`: Pause, Fear, Bomb, Patch, Use (contextual word from a new `Interactions.focus()`),
Build; `move_on_right` variable; `&"touch_controls"` group (no sprint control: see #46).
*Acceptance:* each button driven by touch does what its key does; buttons take their touches,