Commit Graph

11 Commits

Author SHA1 Message Date
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 2ed3ee0ea1 app: privacy policy link in the settings sheet
- new lib/src/ui/links.dart holds kPrivacyPolicyUrl (single source of truth for
  the app, the store listing and the compliance docs)
- settings sheet: "Datenschutzerklaerung" tile opens the policy in the browser
  via url_launcher; manifest grown a <queries> VIEW/https intent so Android 11+
  can resolve it
- verified on device: tap sends ACTION_VIEW for the URL and Chrome comes up
- guard: tools/build_release.sh aborts while links.dart still contains the
  example.invalid placeholder, so a release cannot ship without a policy URL
- docs: compliance row updated (in-app entry done, only the public URL missing)
2026-10-25 03:26:24 +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 92b5ef16cb m7c: brand splash instead of the white startup screen
- LaunchTheme/NormalTheme on #05070A (was the stock light theme + white
  windowBackground) and the Android 12 splash API in values-v31
- splash icon is a padded 512x512 canvas: Android masks everything outside the
  inner 192dp of the 288dp icon area, which clipped the wordmark at the top;
  the icon plate is set to the icon navy
- Flutter splash (lib/src/ui/splash_screen.dart): logo pulses (scale 0.96-1.04,
  opacity 0.72-1.0, 1100 ms) plus a thin progress line, min 700 ms measured
  from the first Flutter frame
- boot work (session, FFI library, ad SDK) now runs after the first frame and
  the game fades in over the splash: no blocking work before the first frame
- numbers (Redmi Note 10, API 31): debug 3053 ms, profile/AOT 2040 ms on the
  first start, 850-960 ms on later cold starts, ready log ~1030 ms
- fixed: top-level Stopwatch only started on first access (Dart lazily
  initialises top-level finals), so the boot log always showed 0 ms
- tools/device/startup.sh measures cold start + boot log; testing.md documents
  the splash chain and the MIUI release-install trap
2026-10-25 02:34:09 +02:00
SoftwareApp 9253d00be4 docs: reference central ~/keystore signing setup 2026-10-25 01:36:27 +02:00
SoftwareApp f91eeba525 feat(m7a): integrate admob app id with test ad units 2026-10-25 00:21:32 +02:00
SoftwareApp 2058dbdafa chore: use de.softwareapp_hb.ironarc as applicationId 2026-10-25 00:11:31 +02:00
SoftwareApp 496ae61026 chore: switch applicationId to de.softwareapphb.ironarc 2026-10-25 00:06:19 +02:00
SoftwareApp 6970daf060 feat(m6): store hardening with r8, release pipeline, symbols and store assets 2026-10-24 23:51:37 +02:00
SoftwareApp 33bdc16fbd feat(m5): client-server sync, offline queue and replay playback 2026-10-24 23:37:13 +02:00
SoftwareApp 7fc31151cc feat(m0): add flutter app, android rust pipeline and 16kb alignment check 2026-10-24 19:57:04 +02:00