harvest/game/tests/mobile
Forrest 49e94874a6 #39: tappable HUD
On phones (MobilePort.active()) the HUD's widgets take taps through small
STOP hit targets (ScarecrowHud.HitTarget, at least minimum_target()), and
everything beside them is still the thumbsticks':
- hotbar: a tap on a main slot picks it through the number keys' path
  (weapon_k, applied only when combat may switch); no number keys on phones
  (Prompts.hotbar_key)
- backpack: a tap toggles the pouch panel, a finger elsewhere (not on the
  panel) closes it; the panel stays inside safe_rect
- tip box: an × hides tips as Backspace does (Tutorial.hide_tips)
- dialogue: a Skip button on pausing conversations; a tap elsewhere advances
Desktop has no targets and draws as before. Test: mobile/hud_taps_test.gd.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 15:10:56 -04:00
..
hud_taps_test.gd #39: tappable HUD 2026-10-14 15:10:56 -04:00
hud_taps_test.gd.uid #39: tappable HUD 2026-10-14 15:10:56 -04:00
platform_test.gd #37: platform back button, no Quit on phones, flat labels, camera 2026-10-14 14:36:26 -04:00
platform_test.gd.uid #37: platform back button, no Quit on phones, flat labels, camera 2026-10-14 14:36:26 -04:00
prompts_test.gd #36: prompts in touch words 2026-10-14 14:30:26 -04:00
prompts_test.gd.uid #36: prompts in touch words 2026-10-14 14:30:26 -04:00
scale_test.gd Phones: interface scale capped at 1.7; settings fields for wave 2 2026-10-14 14:48:32 -04:00
scale_test.gd.uid #35: interface scale, safe area, and the mobile test kit 2026-10-14 14:40:06 -04:00
sticks_test.gd #35: interface scale, safe area, and the mobile test kit 2026-10-14 14:40:06 -04:00
sticks_test.gd.uid #35: interface scale, safe area, and the mobile test kit 2026-10-14 14:40:06 -04:00
touch.gd #35: interface scale, safe area, and the mobile test kit 2026-10-14 14:40:06 -04:00
touch.gd.uid #35: interface scale, safe area, and the mobile test kit 2026-10-14 14:40:06 -04:00