_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)
Two findings from actually playing:
1. Shot power was hard to set and impossible to read. It was derived from the
absolute distance to the tank (250 world px = 100 %) and only shown through
the size of the aim dots, so direction and power changed together.
Aiming is now a slingshot: the drag length sets the power (260 px = 100 %),
the drag direction sets the shot direction, with a 6 px dead zone. Feedback:
a dashed rubber band to the finger, a charge bar under the active tank with
quarter marks, and a HUD row with angle plus a power bar and percentage.
2. Landscape was unplayable. The camera used zoom = max(fitHeight, fitWidth),
so a wide view zoomed in and cropped the world top and bottom - and the
camera never panned vertically, which put both tanks off-screen. The camera
now always fits the world height, centres the world when the view is wider,
and the background continues into the letterbox (ridges tiled, ground edge
extended, vignette follows the visible range). Controls and paddings are
compact in landscape.
- new golden test landscape.png (840x420) shows both tanks and guards the bug;
18 tests green.
- verified on the device in both orientations: shots fire, measured power 47 %
and 54 % mid-gesture, no RenderFlex overflow in logcat, perf.sh still
60.0 fps / 0.0 % jank (p90 16.9 ms).
- store screenshots re-captured with the new HUD and re-framed to 16:9;
play-console.md release notes and "how to play" updated for 0.9.1.
- release 0.9.1 (14).