- lib/src/game/art.dart draws the scene with canvas primitives: dusk sky with a camera-relative sun, three parallax ridges (far = lighter), soil with rim light and irregular rocks, tanks with hull/turret/barrel/tracks and a health bar in team colour, comet trail, impact with fireball/ring/sparks and a dotted aim hint. - Flutter tokens come from the generated palette, so app UI and artwork match. - performance was part of the job: the first version ran at 31-40 % jank. An A/B against the old renderer (0-6.5 %) proved it was the new scene, then the causes were removed one by one: full-screen radial vignette (now edge bands), per-ridge gradient shaders and per-frame paints (flat fills, cached paints), two clipped gradient rects under the surface, terrain redrawn every frame (now a ui.Picture per terrain version) and mask-filter blurs. - result on the Redmi Note 10: 60.0 fps, 0.0-0.8 % jank. - goldens regenerated and reviewed; store screenshots re-captured and renamed to match their content (01 gameplay, 02 projectile, 03 crater, 04 settings). - docs/art-direction.md: phase 2 section with the performance table.
IRON ARC (Arbeitstitel)
Modernes, rundenbasiertes Artillery-Duell für Android: 2D, zerstörbare Landschaft, Wind und Schwerkraft, absurd großes Waffenarsenal — inspiriert von Scorched Earth (1991), aber mobile-first mit Deck-Building, asynchronem PvP und Live-Service-Struktur.
Monetarisierung: Freemium + Werbung, ohne Pay-to-Win (Power ist nicht kaufbar).
Rechtlicher Hinweis: „Scorched Earth" ist eine geschützte Marke (Wendell Hicken). Dieses Projekt nutzt einen eigenen Namen, eigene Marke und eigene Assets. Es werden keine Assets, kein Branding und kein Code des Originals verwendet.
Status
Pre-M0 — ausschließlich Dokumentation. Es existiert noch kein Produktivcode. Nächster Schritt: M0 (Skeleton) — siehe docs/roadmap.md.
Stack (beschlossen: R1 + R3)
| Baustein | Technologie | Rolle |
|---|---|---|
| Simulation | Rust, no_std + alloc, Fixed-Point |
Einzige Quelle der Wahrheit: Terrain, Ballistik, Waffen, Schaden, RNG, Replay |
| Client | Flutter 3.47 + Flame | Rendering, Drag-Aim-HUD, Menüs, später Ads/IAP |
| Bridge | flutter_rust_bridge 2.13 | FFI-Grenze Client ↔ Sim (1 Snapshot pro Frame) |
| Server | Rust axum + sqlx/SQLite |
Replay-Validierung (Schiedsrichter), Auth, Leaderboard |
| Monetarisierung | AdMob + UMP, Play Billing, Firebase | Ab M7, nicht MVP-relevant |
| Store | targetSdk 36 (Pflicht ab 31.08.2026), minSdk 24 |
Google-Play-konform |
| Toolchain | rustc 1.85.0, JDK 21, Android SDK 36, NDK 28.2 | Bewusst gepinnt |
Architekturbegründung: docs/ADR/0001-tech-stack-r1-r3.md
Repo-Map (Zielzustand)
crates/sim/ deterministischer Spielkern (no_std, fixed-point) [M1]
crates/content/ serde-Modelle + JSON-Validierung [M2]
crates/ffi/ cdylib, flutter_rust_bridge-API [M3]
crates/server/ axum-Replay-Validator [M4]
tools/balance/ Headless-CLI: 100k KI-Matches, CSV-Report [M2]
tools/device/ connect/install/smoke/perf/logs-Skripte [M3]
app/ Flutter-Projekt [M3]
docs/ GDD, ADRs, Protokoll, Roadmap, Compliance [erledigt]
Doku-Index
| Dokument | Inhalt |
|---|---|
| docs/GDD.md | Game Design: Vision, Loops, Panzer, Waffen, Modi, Scope |
| docs/ADR/0001-tech-stack-r1-r3.md | Architekturentscheidung + verworfene Alternativen |
| docs/ADR/0002-determinismus-fixed-point.md | Determinismus-Regeln, Q16.16, RNG, Hash-Kette |
| docs/protocol.md | Replay-Format v1, Commands, Server-API, Versionierung |
| docs/monetization.md | Ads-Platzierungen, IAP-Katalog, Economy, KPI-Ziele |
| docs/roadmap.md | M0–M6 mit prüfbaren Gates |
| docs/testing.md | Testpyramide, Determinismus-/Golden-/Device-Tests |
| docs/compliance-play-store.md | Store-Checkliste (targetSdk, Data Safety, UMP, Familien) |
| docs/decisions.md | Entscheidungslog des Auftraggebers (HP 150, kein Closed-Test) |
| docs/privacy-policy.md | Datenschutzerklärung (DE/EN) + was vor Veröffentlichung einzusetzen ist |
| docs/signing.md | Upload-Keystore, signierter AAB-Build, Backup-Regeln |
Konventionen
- Dokumentation: Deutsch. Code, Identifier, Commit-Typen, Logs: Englisch.
- Commits: Conventional Commits (
feat:,fix:,docs:,chore:,test:,refactor:). - Branch
main; Feature-Branchesfeat/<kurz>, Dokudocs/<kurz>. - In
crates/simist Fließkomma-Arithmetik verboten (siehe ADR 0002). - Jede Balance-Änderung muss Golden-Replays aktualisieren (
cargo run -p balance --bin regen). - Keine Secrets im Repo:
google-services.jsonundkey.propertiessind ignoriert und werden dokumentiert bereitgestellt.
Quickstart (ab M0)
export PATH="$HOME/Android/Sdk/platform-tools:$PATH"
export ANDROID_NDK_HOME="$HOME/Android/Sdk/ndk/28.2.13676358"
flutter config --jdk-dir=/usr/lib/jvm/java-21-openjdk-amd64 # JDK 25 meiden
cargo test -p sim
cargo run -p balance -- --matches 100000 --out report.csv
flutter build apk --debug
Nicht-Ziele (MVP)
Kein 3D, kein Echtzeit-Multiplayer, kein Cross-Play mit anderen Plattformen, kein iOS, kein Level-Editor, kein nutzergenerierter Content, keine Lootboxen mit Gameplay-Power.
Offene Entscheidungen
| Thema | Optionen | Blockiert |
|---|---|---|
| Lizenz | proprietär (aktuell) / MIT / dual | LICENSE-Datei, OSS-Veröffentlichung |
| Finaler Markenname | IRON ARC (Arbeitstitel) / ASHFALL / DUST & STEEL | Store-Listing, Domain, Icon |
| Art-Pipeline | Vektor (SVG→PNG-Atlas) / Raster-Atlas / Shader-prozedural | M3-Renderer |
| Asset-Versionierung | git-lfs vs. plain (Assets klein halten) | sobald Assets > 5 MB |
| Ads bereits in MVP-1 | ja (Test-IDs) / nein (erst M7) | UMP-Consent-Skeleton |