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.
This commit is contained in:
2026-10-25 02:11:14 +01:00
parent 3fb9dce729
commit 5f6574d08c
42 changed files with 1150 additions and 5 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 55 KiB

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generated by tools/art/artgen.py - do not edit by hand. -->
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/ic_launcher_background" />
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
<monochrome android:drawable="@mipmap/ic_launcher_monochrome" />
</adaptive-icon>
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generated by tools/art/artgen.py - do not edit by hand. -->
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/ic_launcher_background" />
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
<monochrome android:drawable="@mipmap/ic_launcher_monochrome" />
</adaptive-icon>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 544 B

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 442 B

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 721 B

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

@@ -2,7 +2,7 @@
<resources>
<!-- Same near-black the game canvas uses, so launch -> splash -> game never flashes. -->
<color name="launch_bg">#FF05070A</color>
<!-- Plate behind the Android 12+ splash icon: the icon navy, so the mark
reads as a deliberate tile instead of a floating sticker. -->
<color name="launch_plate">#FF0B1220</color>
<!-- Plate behind the Android 12+ splash icon: identical to launch_bg, so the
circular badge floats instead of sitting on a visible square. -->
<color name="launch_plate">#FF05070A</color>
</resources>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 75 KiB

+43
View File
@@ -0,0 +1,43 @@
// GENERATED FILE - do not edit by hand.
// Source: tools/art/palette.json, generator: tools/art/artgen.py
// Re-run `python3 tools/art/artgen.py palette` after changing a token.
import 'package:flutter/material.dart';
/// Design tokens shared by the app and the generated art.
abstract final class Palette {
// ink
static const ink0 = Color(0xFF05070A);
static const ink1 = Color(0xFF0A1220);
static const ink2 = Color(0xFF101B2E);
static const ink3 = Color(0xFF1B2C44);
// solar
static const solarLight = Color(0xFFFFD9A0);
static const solarBase = Color(0xFFFFB347);
static const solarDeep = Color(0xFFFF7A2F);
// steel
static const steelLight = Color(0xFF9FE3F0);
static const steelBase = Color(0xFF4EA8C8);
static const steelDeep = Color(0xFF2C6F8A);
// terrain
static const terrainRim = Color(0xFFE8C08A);
static const terrainTop = Color(0xFF7A6A45);
static const terrainSoil = Color(0xFF3A2F20);
static const terrainDeep = Color(0xFF241C12);
// state
static const stateDanger = Color(0xFFFF5A5F);
static const stateOk = Color(0xFF6BD08A);
// text
static const textHi = Color(0xFFF5F7FA);
static const textMid = Color(0xFFA9B4C4);
static const textLow = Color(0xFF6C7A8D);
// type
}
+4 -2
View File
@@ -1,5 +1,7 @@
import 'package:flutter/material.dart';
import 'palette.dart';
/// Brand splash shown while the native match library, the session and the
/// ad SDK boot. The logo pulses so a cold start reads as "loading" instead of
/// a frozen screen - the native launch theme uses the same colour and image,
@@ -8,8 +10,8 @@ class SplashScreen extends StatefulWidget {
const SplashScreen({super.key});
/// Canvas colour of the game; the Android launch theme uses the same value.
static const background = Color(0xFF05070A);
static const accent = Color(0xFFFF8A3D);
static const background = Palette.ink0;
static const accent = Palette.solarBase;
@override
State<SplashScreen> createState() => _SplashScreenState();