Files
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

97 lines
6.7 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Changelog
Alle nennenswerten Änderungen an diesem Projekt. Format nach
[Keep a Changelog](https://keepachangelog.com/de/1.1.0/), Versionierung nach
[SemVer](https://semver.org/lang/de/) — angewendet auf Spiel und Protokoll.
## [Unreleased]
### Changed
- (docs) Entscheidungslog eingefuehrt; 12-Tester-Closed-Test auf Wunsch entfernt (D2)
- (sim) `MAX_HP` 100 -> 150 (laengere, taktischere Matches); `SIM_VERSION` 0.2.0
- (app) Version 0.6.0 (6), HP-Balken gegen `kTankMaxHp`
- (app) Zahnrad-Button mit Semantik-Label „Einstellungen“ und größerer Touch-Fläche (Barrierefreiheit)
### Fixed
- (game) Querformat war unspielbar: die Kamera zoomte auf die Ansichtsbreite und schnitt die Welt
oben/unten ab, ohne vertikales Pannen - beide Panzer lagen außerhalb des Bildes. Jetzt passt die
Kamera immer die Welthöhe ein, zentriert bei breiter Ansicht und der Hintergrund (Himmel, Bergketten,
Boden) läuft in die Ränder weiter. Neuer Golden-Test `landscape.png` hält das fest.
- (game) Schusskraft war kaum zu dosieren und nicht ablesbar: Zielen läuft jetzt als Zurückziehen
(Zuglänge = Kraft, 260 px = 100 %), mit Gummiband zum Finger, Kraftbalken unter dem Panzer und
Prozentanzeige samt Winkel im HUD
- (ui) Bedienelemente und Abstände im Querformat kompakter (kein Overflow, per logcat geprüft)
- (game) Renderer wieder bei 60 fps / 0 % Jank: Vollbild-Gradient (Vignette), Gradient je
Bergrücken, zwei geclippte Gradient-Rects und MaskFilter-Blur entfernt, Boden als
`ui.Picture` pro Terrain-Version gecacht
- (app) HUD blieb auf dem Initialwert (100 HP), weil `onLoad` waehrend des ersten Builds publizierte
- (app) Top-Level-`Stopwatch` startete erst beim ersten Zugriff (Dart initialisiert Top-Level-Finals lazy) - das Bootlog zeigte 0 ms
### Changed
- (build) Version 0.8.2 (12): Datenschutz-URL + Kontaktadresse + Löschpfad in der App; signiertes App Bundle mit Upload-Keystore
### Added
- (app) „Datenlöschung anfragen" im Einstellungen-Sheet: vorausgefüllte E-Mail an die Kontaktadresse mit Geräte-ID
- (legal) Kontaktadresse `softwareapp.hb@gmail.com` in Policy (DE/EN) und Listing eingetragen
- (app) Datenschutzerklärung im Einstellungen-Sheet (öffnet die Webseite über `url_launcher`),
Manifest-`<queries>` für den Browser, Release-Guard gegen die Platzhalter-URL
- (game) Ingame-Grafik neu: Himmel mit kamerarelativ platzierter Sonne, drei parallaxe
Bergrücken, Boden mit Verlauf/Schattenlippe/Felsbrocken, Panzer mit Kette/Turm/Rohr,
Kometenschweif, Explosion mit Funken, Zielhilfe (`lib/src/game/art.dart`)
- (art) Generierte Marken-Grafik: `tools/art/` (SVG-Master + rsvg), Adaptive Icon inkl.
Monochrom, Splash-Lockup, neues Feature-Graphic, Design-Tokens nach
`app/lib/src/ui/palette.dart`; Doku in `docs/art-direction.md`
- (app) Splash-Kette ohne weissen Bildschirm: Markenfarbe `#05070A` als Launch- und Normal-Theme,
Android-12-Splash-API (`values-v31`), pulsierendes Logo inkl. Fortschrittslinie bis die native
Bibliothek, die Session und das Ad-SDK bereit sind, danach Fade in die Partie
- (app) Startlog `iron_arc: ready after N ms` (Debug + Release), nutzbar als Regressionswaechter
- (legal) Datenschutzerklaerung DE/EN als Markdown und als hostbare HTML-Seite
- (app) Geraete-ID im Einstellungen-Sheet sichtbar und kopierbar (fuer Loeschantraege)
- (ads) UMP-Consent-Flow vor SDK-Init, Fail-Safe ohne Zustimmung, Einstellungen-Sheet mit „Datenschutz-Optionen“
- (ads) AdMob App ID im Manifest, `google_mobile_ads`, `AdsService` mit Rewarded/Interstitial und Frequenz-Caps
- (ui) Rewarded-Testbutton; Interstitial nach Matchende (ab Match 4, jeder 2.)
- (build) Release-Skript mit ABI-abhängigem Alignment-Check, native-debug-symbols.zip, AAB
- (build) R8/ProGuard-Regeln, `key.properties`-Support mit Debug-Fallback
- (store) Icon 512, Feature-Graphic 1024x500, 4 Geraete-Screenshots, `store/listing.md`
- (ffi) Replay-Export (`iron_arc_replay_json`), Playback-Handle, `iron_arc_state_hash`
- (app) HTTP-Client, Offline-Queue, MatchSession mit Desync-Erkennung und Replay-Playback
- (app) Layout mit getrenntem Spielfeld und Bedienleiste
- (protocol) Hashes als Hex-Strings (Praezision ab 2^53)
- (ffi) Match-API (C-ABI): Handle, Fire/EndTurn/Tick, Snapshots, Terrain-View, Impact-Events
- (app) Flame-Client: Terrain-Rendering, Panzer, Projektil, Drag-Aim, Kamera-Follow, HUD, Rematch
- (tooling) `perf.sh` misst SurfaceFlinger-Frames (gfxinfo ist fuer Flutter unbrauchbar)
- (docs) ADR 0003: Interim-C-ABI statt flutter_rust_bridge, inkl. Migrationsplan
- (content) JSON-getriebene Waffen/Panzer/Karten mit Validierung und `content_hash`
- (sim) Content-getriebene Waffen, Panzer folgen dem Terrain, Wind realistisch skaliert, Schadens-Untergrenze
- (sim) `Sim::with_starter` fuer alternierenden Startspieler
- (balance) KI-Balance-CLI mit analytischem Wurf-Loeser, CSV-Report und Trace-Modus
- (ffi) C-ABI-Probe (`iron_arc_selftest`, `iron_arc_abi_marker`) und Dart-FFI-Screen; **Cross-Target-Determinismus auf arm64-Gerät verifiziert**
- (tooling) `tools/device/*` für Steckbrief, Install, Smoke, Perf, Logs
- (m0) Cargo-Workspace mit `sim`, `content`, `ffi`, `server`, `balance`; `tools/ci.sh`
- (m0) Flutter-App mit `targetSdk 36`, `minSdk 24`, NDK 28.2; `tools/build_rust_android.sh` inkl. 16-KB-Check
- (sim) Q16.16-Fixed-Point, eingecheckte Sinus-LUT, PCG32 mit gepinnter Referenzsequenz
- (sim) Heightmap-Terrain mit Kratern, Materialien und beidseitigem Sand-Kollaps
- (sim) Match-State mit Zuegen, Timer, Ballistik, Schaden, Lava und Sudden Death
- (sim) FNV-1a-State-Hash und Replay v1 inkl. Verifikation durch Re-Simulation
- Projektkonventionen: `.gitignore`, `.gitattributes`, `.editorconfig`
- `README.md` mit Stack (R1 + R3), Repo-Map, Doku-Index und offenen Entscheidungen
- `docs/GDD.md`: Game Design Document (14 Kapitel, MVP-1/2/3-Scope)
- `docs/ADR/0001-tech-stack-r1-r3.md`: Architekturentscheidung inkl. geprüfter Alternativen
- `docs/ADR/0002-determinismus-fixed-point.md`: Fixed-Point-, RNG- und Hash-Regeln
- `docs/protocol.md`: Replay-Format v1, Commands, Server-API, Anti-Cheat, Versionierung
- `docs/monetization.md`: Ads-Platzierungen, IAP-Katalog, Economy, KPI- und Kill-Kriterien
- `docs/roadmap.md`: Meilensteine M0–M6 mit prüfbaren Gates
- `docs/testing.md`: Testpyramide, Determinismus-/Golden-/Device-Tests
- `docs/compliance-play-store.md`: Store-Checkliste inkl. Release-Blocker
### Not yet started
- M0: Cargo-Workspace, Flutter-Projekt, Toolchain-Setup (kein Produktivcode vorhanden)
<!--
Konventionen für Einträge:
- Added / Changed / Deprecated / Removed / Fixed / Security
- Eine Zeile pro Änderung, mit Modul-Präfix in Klammern, z. B. "(sim) LUT auf 4096 Stützstellen"
- Bei `sim`-Änderungen zusätzlich: Auswirkung auf Golden-Replays und `sim_version`
-->