Commit Graph

10 Commits

Author SHA1 Message Date
SoftwareApp c55ebd21b4 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)
2026-10-25 15:59:06 +01:00
SoftwareApp 254e0d2675 gameplay: dosable power and a playable landscape layout
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).
2026-10-25 15:14:02 +01:00
SoftwareApp a26e0b93b5 m7c: Play Billing and a complete deletion path
- billing module with a testable seam: models (product ids, purchase events),
  StoreClient + PlayStoreClient over in_app_purchase, Entitlements persisted in
  SharedPreferences, BillingService orchestrating query/buy/restore/grant.
- rules encoded: grant before completePurchase (Play refunds unacknowledged
  purchases after three days), pending purchases are shown but never granted,
  restorePurchases on start so a reinstall keeps the purchase, and Remove Ads
  only hides interstitials - rewarded video stays available.
- ads gate: AdsService.adsRemoved stops both the counter and the preload, so an
  owner never requests an interstitial.
- settings sheet: shop section (price from the store, never hardcoded),
  "restore purchases", and "delete local data" with confirmation; the existing
  mail-based deletion request stays the account-deletion path since the app has
  no accounts.
- 9 new tests with a fake store cover purchase, restore, pending, cancel,
  error, restart persistence, missing store and a store that throws. 17 total.
- verified on device: the app talks to the real Play Billing service
  (IInAppBillingService in logcat) and degrades to "no products created"
  without a crash; com.android.vending.BILLING is in the merged manifest.
- docs: monetization 7c (rules + verification), decision D6 (local entitlement
  until purchases affect the server), compliance rows for billing/restore/
  deletion, blocked.md 3c (create remove_ads in the Console).
- release 0.9.0 (13).
2026-10-25 04:06:44 +01:00
SoftwareApp 82bd496cc9 legal: contact address and an in-app deletion request
- policies (DE/EN + the hosted HTML) now name softwareapp.hb@gmail.com as the
  contact; the old privacy@softwareapp-hb.de mailbox never existed
- settings sheet: "Datenloeschung anfragen" opens a prefilled mail (recipient,
  subject "Datenloeschung Iron Arc", device id in the body); verified on device,
  Gmail compose opens with all three fields filled
- policies point at that tile instead of the ad status line
- listing: version 0.8.1 -> 0.8.2 plus the Play contact/privacy fields
- blocked.md: new item 3a - the controller's postal address is still <Anschrift>
  (GDPR requires it, Play does not check)
- release 0.8.2 (12)
2026-10-25 03:50:21 +01:00
SoftwareApp 9732a7e453 app: point the privacy link at the hosted policy, guard the release
- kPrivacyPolicyUrl now holds the public Gitea raw URL (HTTP 200, full policy,
  title "Datenschutzerklaerung - Iron Arc", contact privacy@softwareapp-hb.de).
  Gitea serves it as text/plain, so a browser shows the markup; a real page is
  still recommended and documented in docs/status/blocked.md 3b.
- verified on device: the tile triggers ACTION_VIEW for exactly this URL and
  Chrome opens it.
- release guard rewritten to extract the URL itself and fail on an empty or
  placeholder value (the previous version matched its own marker constant).
- docs: compliance row set to done, listing gained the Play privacy field,
  blocked.md documents the host upgrade plus the consequence that the repo has
  to stay public while the policy is served from it.
- release 0.8.1 (11).
2026-10-25 03:41:14 +01:00
SoftwareApp 43b3edd11e release: 0.8.0 (10) - new ingame art in the store artifact 2026-10-25 03:01:44 +01:00
SoftwareApp aa0725b908 release: 0.7.2 (9) - generated brand art in the store artifact 2026-10-25 02:13:30 +01:00
SoftwareApp 5f6574d08c art: generated brand system (icon, splash, feature graphic, tokens)
- tools/art/: SVG-authored art rasterised with librsvg. artlib.py provides
gradients, blur/grain/vignette filters, Catmull-Rom paths, reproducible ridges,
ballistics and type; gen_brand.py builds every asset; artgen.py is the CLI.
- palette.json is the single source of truth: it drives the art *and* generates
app/lib/src/ui/palette.dart (splash now reads Palette.ink0/solarBase).
- new icon: dusk scene with sun, an asymmetric shot leaving the frame top-right
and a tank silhouette at the muzzle. Legacy mipmaps + adaptive layers
(background/foreground/monochrome) + anydpi-v26 XML, monochrome for Android 13
themed icons.
- splash: circular badge (zoomed, mask-safe) for the Android 12 splash, badge +
wordmark lockup for the pre-12 launch bitmap and the Flutter splash. The system
icon plate is now identical to the background, so the badge floats.
- feature graphic rebuilt as a poster: type block left, scene confined to the
right half so the shot never crosses the wordmark.
- type aligned with the store title: "TAKTISCHES PANZERDUELL".
- docs/art-direction.md documents principles, palette, asset sources and the
ingame phase 2 plan.
2026-10-25 02:11:14 +01:00
SoftwareApp 3fb9dce729 release: 0.7.1 (8) - brand splash in the store artifact 2026-10-25 02:36:49 +02:00
SoftwareApp 6970daf060 feat(m6): store hardening with r8, release pipeline, symbols and store assets 2026-10-24 23:51:37 +02:00