tasks: check off #39 (tappable HUD); graph update

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Forrest 2026-10-14 15:15:38 -04:00
parent 619ddcde5e
commit 47fa2591f5
11 changed files with 137 additions and 128 deletions

View file

@ -429,7 +429,14 @@ in `game/tests/mobile/` (one file per task) and run with `-- --suite=test_mobile
*Acceptance:* each button driven by touch does what its key does; buttons take their touches,
hidden ones don't block; screenshot; no new FAIL lines.
- [ ] **#39 Tappable HUD.** Blocked by #35. Blocks #43.
- [x] **#39 Tappable HUD.** Blocked by #35. Blocks #43. *(merged 49e9487 — `ScarecrowHud.HitTarget`
(STOP, `cover(r)` grows to `minimum_target()`, `tapped`; ignores the emulated click) used by the
hotbar slots (`slot_rects()`, `tap_slot(i)` → the `weapon_k` path), the backpack
(`ResourceHud.icon_rect()`/`panel_rect()`, clamped into the safe rect; a finger elsewhere
closes the pouch and goes on to the sticks), the tip box's × (`Tutorial.hide_tips()`), and
Skip on pausing conversations (`DialogueBox.skip_rect()`); `Prompts.hotbar_key(n)` drops the
slot numbers on phones; for #43: backpack, hotbar bottom and the dialogue paper still cross
the safe rect; the tip box overlaps the open pouch)*
Tap hotbar slots to switch weapons, the backpack for the pouch (panel fits the scaled canvas),
× on the tip box, a Skip button on pausing conversations.
*Acceptance:* each tap works and touches beside each widget still start a stick; no new FAIL