fix(aim): full power reachable, and a tap no longer burns the turn

_maxDragPx was a fixed 260 *logical* pixels. On the test device (1080x2400 at
440 dpi) that is 715 physical pixels - a swipe across two thirds of the screen,
which ends at the edge before full power is reached. Players could not hit 100 %.

- the pull distance is now relative to the playfield: 30 % of its short edge,
  at least 80 logical px (~325 physical px here)
- verified on the device: a 340 px swipe reaches "MAX" and fires, a 149 px swipe
  reaches 46 %
- the HUD now prints MAX instead of 100 % and highlights it, so reaching full
  power is unmistakable
- a tap without a real pull no longer fires: _dragged guards releaseAim, so a
  stray touch cannot waste a turn (verified: tap leaves the turn unchanged)
- release 0.9.2 (15)
This commit is contained in:
2026-10-25 15:59:06 +01:00
parent 254e0d2675
commit c55ebd21b4
4 changed files with 24 additions and 5 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 0.9.1+14
version: 0.9.2+15
environment:
sdk: ^3.13.4