diff --git a/art/final/Objects/emblem_dieb_64.png b/art/final/Objects/emblem_dieb_64.png new file mode 100644 index 0000000..3a4b61b Binary files /dev/null and b/art/final/Objects/emblem_dieb_64.png differ diff --git a/art/final/Objects/emblem_kaempfer_64.png b/art/final/Objects/emblem_kaempfer_64.png new file mode 100644 index 0000000..ab46b98 Binary files /dev/null and b/art/final/Objects/emblem_kaempfer_64.png differ diff --git a/art/final/Objects/emblem_kleriker_64.png b/art/final/Objects/emblem_kleriker_64.png new file mode 100644 index 0000000..2f5e37f Binary files /dev/null and b/art/final/Objects/emblem_kleriker_64.png differ diff --git a/art/final/Objects/emblem_magier_64.png b/art/final/Objects/emblem_magier_64.png new file mode 100644 index 0000000..483310c Binary files /dev/null and b/art/final/Objects/emblem_magier_64.png differ diff --git a/art/license-log.csv b/art/license-log.csv index 5f64325..34370df 100644 --- a/art/license-log.csv +++ b/art/license-log.csv @@ -182,3 +182,9 @@ datum,endpoint_id,request_id,prompt,seed,lizenz 2026-11-17,fal-ai/flux-2/klein/9b,01a1e9c9-096e-7c13-99b2-41613a40ecbc,"hand-painted 2D role-playing game character portrait, head and shoulders of a young elf woman with long copper hair and a deep blue hood, facing the viewer, calm neutral expression, warm late-morning light from the upper left, limited warm palette of ochre, umber, olive and slate, painterly but readable, crisp edges, plain dark background, no text",7303,"FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 1024x1024, 1.0486 MP, x-fal-billable-units 4.0 = 0.03 USD, 4 Bilder" 2026-11-17,fal-ai/flux-2/klein/9b,01a1e9c9-27ea-7531-98a5-1f752ec902a3,"hand-painted 2D role-playing game character portrait, head and shoulders of an older grey-haired dwarf with a broad weathered face and a heavy fur collar, facing the viewer, calm neutral expression, warm late-morning light from the upper left, limited warm palette of ochre, umber, olive and slate, painterly but readable, crisp edges, plain dark background, no text",7302,"FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 1024x1024, 1.0486 MP, x-fal-billable-units 4.0 = 0.03 USD, 4 Bilder" 2026-11-17,fal-ai/flux-2/klein/9b,01a1e9c9-4675-73b0-8353-6c4c4c78b89c,"hand-painted 2D role-playing game character portrait, head and shoulders of a cheerful young halfling man with curly brown hair and a leather jerkin, facing the viewer, calm neutral expression, warm late-morning light from the upper left, limited warm palette of ochre, umber, olive and slate, painterly but readable, crisp edges, plain dark background, no text",7304,"FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 1024x1024, 1.0486 MP, x-fal-billable-units 4.0 = 0.03 USD, 4 Bilder" +2026-11-17,fal-ai/flux-2/klein/9b,01a1e9cc-c961-7140-b0e2-dede3164e8a0,"illustrated fantasy RPG art, late-1980s role-playing game cover-illustration sensibility, flat color shapes with hard edges, limited palette of six to eight hues - muted ochre, dusty slate blue, olive green, warm cream highlights, deep umber shadow, no gradients except two-step blends, strong silhouettes, readable at small size, painterly but economical detail, single isolated round medallion icon with a simple metal rim, a bold upright sword in the center, steel blade with a gold crossguard, side-on flat view, centered, isolated on a flat solid magenta background, complete silhouette, no text, no letters, no cast shadow",8101,"FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 512x512, 0.2621 MP, x-fal-billable-units 1.0 = 0.01 USD, 4 Bilder" +2026-11-17,fal-ai/flux-2/klein/9b,01a1e9cc-dcfe-7052-932e-f42a88c6d8fd,"illustrated fantasy RPG art, late-1980s role-playing game cover-illustration sensibility, flat color shapes with hard edges, limited palette of six to eight hues - muted ochre, dusty slate blue, olive green, warm cream highlights, deep umber shadow, no gradients except two-step blends, strong silhouettes, readable at small size, painterly but economical detail, single isolated round medallion icon with a simple metal rim, a bold golden sun disc with short rays in the center, side-on flat view, centered, isolated on a flat solid magenta background, complete silhouette, no text, no letters, no cast shadow",8102,"FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 512x512, 0.2621 MP, x-fal-billable-units 1.0 = 0.01 USD, 4 Bilder" +2026-11-17,fal-ai/flux-2/klein/9b,01a1e9cc-f1c0-74f3-a582-4f2a576d3992,"illustrated fantasy RPG art, late-1980s role-playing game cover-illustration sensibility, flat color shapes with hard edges, limited palette of six to eight hues - muted ochre, dusty slate blue, olive green, warm cream highlights, deep umber shadow, no gradients except two-step blends, strong silhouettes, readable at small size, painterly but economical detail, single isolated round medallion icon with a simple metal rim, an open spellbook with a small four-pointed star above it in the center, side-on flat view, centered, isolated on a flat solid magenta background, complete silhouette, no text, no letters, no cast shadow",8103,"FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 512x512, 0.2621 MP, x-fal-billable-units 1.0 = 0.01 USD, 4 Bilder" +2026-11-17,fal-ai/flux-2/klein/9b,01a1e9cd-06ab-7791-8b2a-d3c9592cc278,"illustrated fantasy RPG art, late-1980s role-playing game cover-illustration sensibility, flat color shapes with hard edges, limited palette of six to eight hues - muted ochre, dusty slate blue, olive green, warm cream highlights, deep umber shadow, no gradients except two-step blends, strong silhouettes, readable at small size, painterly but economical detail, single isolated round medallion icon with a simple metal rim, a crossed dagger and lockpick in the center, dark leather grip and steel blade, side-on flat view, centered, isolated on a flat solid magenta background, complete silhouette, no text, no letters, no cast shadow",8104,"FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 512x512, 0.2621 MP, x-fal-billable-units 1.0 = 0.01 USD, 4 Bilder" +2026-11-17,fal-ai/flux-2/klein/9b,01a1e9cd-7a70-7d90-b211-e3024d76592b,"illustrated fantasy RPG art, late-1980s role-playing game cover-illustration sensibility, flat color shapes with hard edges, limited palette of six to eight hues - muted ochre, dusty slate blue, olive green, warm cream highlights, deep umber shadow, no gradients except two-step blends, strong silhouettes, readable at small size, painterly but economical detail, single isolated round medallion icon, thick silver metal rim around the whole circle, a bold upright sword fully inside the medallion, steel blade with a gold crossguard, centered, the circle fills the frame, isolated on a flat solid magenta background, complete silhouette, no text, no letters, no cast shadow",8105,"FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 512x512, 0.2621 MP, x-fal-billable-units 1.0 = 0.01 USD, 4 Bilder" +2026-11-17,fal-ai/flux-2/klein/9b,01a1e9cd-90a8-7a30-8292-fcde58419b78,"illustrated fantasy RPG art, late-1980s role-playing game cover-illustration sensibility, flat color shapes with hard edges, limited palette of six to eight hues - muted ochre, dusty slate blue, olive green, warm cream highlights, deep umber shadow, no gradients except two-step blends, strong silhouettes, readable at small size, painterly but economical detail, single isolated round medallion icon, thick silver metal rim around the whole circle, an open spellbook with a small four-pointed star fully inside the medallion, centered, the circle fills the frame, isolated on a flat solid magenta background, complete silhouette, no text, no letters, no cast shadow",8106,"FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 512x512, 0.2621 MP, x-fal-billable-units 1.0 = 0.01 USD, 4 Bilder" diff --git a/art/prep/erstellung/README.md b/art/prep/erstellung/README.md index 8e818ee..b8ac16e 100644 --- a/art/prep/erstellung/README.md +++ b/art/prep/erstellung/README.md @@ -47,6 +47,7 @@ Figur und prüft Name, Volksbonus, Porträt und TP im Datensatz. ## Offen -- Klassen-Embleme à 64 px; die vier Volk-Porträts und die Startausrüstung - stehen. Die sechs 96er bleiben HUD-Miniaturen. +- Ein zweites Gesicht je Volk, falls die Auswahl im Spiel mehr braucht. + Startausrüstung, Volk-Porträts und Klassen-Embleme stehen; die sechs 96er + bleiben HUD-Miniaturen. - Titelschirm davor (Neu/Weiter/Laden). diff --git a/art/prep/erstellung/_figur_1920x1080.png b/art/prep/erstellung/_figur_1920x1080.png index 8821f2c..163e20b 100644 Binary files a/art/prep/erstellung/_figur_1920x1080.png and b/art/prep/erstellung/_figur_1920x1080.png differ diff --git a/art/prep/erstellung/_roster_schnellstart_1920x1080.png b/art/prep/erstellung/_roster_schnellstart_1920x1080.png index 6924aa0..7b73d9f 100644 Binary files a/art/prep/erstellung/_roster_schnellstart_1920x1080.png and b/art/prep/erstellung/_roster_schnellstart_1920x1080.png differ diff --git a/art/prep/klassen-embleme/README.md b/art/prep/klassen-embleme/README.md new file mode 100644 index 0000000..94592f1 --- /dev/null +++ b/art/prep/klassen-embleme/README.md @@ -0,0 +1,65 @@ +# Klassen-Embleme — vier Medaillons in 64 px + +Stand: 17.11.2026 · fal `klein/9b`, 512², 4 Varianten je Klasse. +**16 Rohbilder + 8 Nachlauf, 4 gewählt, 0,038 $** (Lizenzzeilen in +[`../../license-log.csv`](../../license-log.csv)). + +**Frage:** Vier Volk-Porträts plus vier Klassen-Embleme statt 16 +Volk×Klasse-Porträts — trägt das? **Ja**, solange die Embleme als Satz +lesbar sind. Deshalb sind alle vier ein **rundes Medaillon** mit demselben +Metallrand. + +## Vorgehen + +```bash +export FAL_KEY=... +art/prep/klassen-embleme/rendern.sh # Kämpfer, Kleriker, Magier, Dieb +art/prep/klassen-embleme/nachlauf.sh # Kämpfer + Magier mit Medaillon-Rand +``` + +Der erste Lauf lieferte Kleriker und Dieb als Medaillon, Kämpfer und Magier +aber als freie Symbole auf Magenta. Der Nachlauf mit *„thick silver metal rim +around the whole circle, the circle fills the frame"* hat es korrigiert. + +| Klasse | Seed | gewählt | Datei | +|---|---|---|---| +| Kämpfer | 8105 (Nachlauf) | 1 | `emblem_kaempfer_64.png` | +| Kleriker | 8102 | **4** | `emblem_kleriker_64.png` | +| Magier | 8106 (Nachlauf) | 1 | `emblem_magier_64.png` | +| Dieb | 8104 | 1 | `emblem_dieb_64.png` | + +Kleriker ist die Ausnahme: Variante 1 war deutlich kleiner im Bild als die +übrigen Medaillons. Variante 4 füllt die 64er-Fläche wie die anderen. + +## Nachbearbeitung + +```bash +python3 art/tools/pixelize.py -o _64.png \ + --size 64x64 --colors 24 --cutout 12 --cutout-global --shrink 1 \ + --palette-figure --outline auto --recenter +``` + +24 statt 16 Farben: Der Metallrand und die Goldflächen brauchen die Reserve; +bei 16 kippt der Rand in Dither. Der Freisteller entfernt das Magenta, auch +die Flächen zwischen Symbol und Rand. + +## Prüfung + +[`_kontakt.png`](_kontakt.png) — die erste Charge. +[`_kontakt_nachlauf.png`](_kontakt_nachlauf.png) — Kämpfer/Magier mit Rand. +[`_vergleich_64.png`](_vergleich_64.png) — 16 gegen 24 Farben bei 3×. +[`_final_64.png`](_final_64.png) — der gewählte Satz bei 3× auf dunklem Grund. + +## Einsatz + +- **Figurenmaske:** 64er-Badge unten rechts auf dem Volk-Porträt; wechselt mit + der Klasse. +- **Roster:** 64er-Badge unten rechts auf der Karte. +- **Daten:** `game/data/classes.json` braucht kein Feld — die Zuordnung + `fighter → emblem_kaempfer_64` steht im UI-Code, solange es nur einen Satz + gibt. + +## Offen + +- Ein zweites Gesicht je Volk, falls die Auswahl im Spiel wirklich gebraucht + wird; die Kombination Volk × Klasse ist mit Porträt + Emblem vollständig. diff --git a/art/prep/klassen-embleme/_final_64.png b/art/prep/klassen-embleme/_final_64.png new file mode 100644 index 0000000..c8d0687 Binary files /dev/null and b/art/prep/klassen-embleme/_final_64.png differ diff --git a/art/prep/klassen-embleme/_kontakt.png b/art/prep/klassen-embleme/_kontakt.png new file mode 100644 index 0000000..2d4abf5 Binary files /dev/null and b/art/prep/klassen-embleme/_kontakt.png differ diff --git a/art/prep/klassen-embleme/_kontakt_nachlauf.png b/art/prep/klassen-embleme/_kontakt_nachlauf.png new file mode 100644 index 0000000..edacd15 Binary files /dev/null and b/art/prep/klassen-embleme/_kontakt_nachlauf.png differ diff --git a/art/prep/klassen-embleme/_vergleich_64.png b/art/prep/klassen-embleme/_vergleich_64.png new file mode 100644 index 0000000..bce004d Binary files /dev/null and b/art/prep/klassen-embleme/_vergleich_64.png differ diff --git a/art/prep/klassen-embleme/nachlauf.sh b/art/prep/klassen-embleme/nachlauf.sh new file mode 100755 index 0000000..b5c2753 --- /dev/null +++ b/art/prep/klassen-embleme/nachlauf.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash +set -uo pipefail +HIER="$(cd "$(dirname "$0")" && pwd)" +REPO="$(cd "$HIER/../../.." && pwd)" +PY="$HOME/.venvs/art/bin/python" +for pair in "kaempfer 8105" "magier 8106"; do + set -- $pair + "$PY" "$REPO/art/tools/falgen.py" --endpoint fal-ai/flux-2/klein/9b \ + --prompt-file "$HIER/prompt_$1.txt" --size 512x512 --seed "$2" \ + --num-images 4 --kategorie Objects --name "emblem_${1}_s${2}" +done diff --git a/art/prep/klassen-embleme/prompt_dieb.txt b/art/prep/klassen-embleme/prompt_dieb.txt new file mode 100644 index 0000000..3c0966e --- /dev/null +++ b/art/prep/klassen-embleme/prompt_dieb.txt @@ -0,0 +1 @@ +illustrated fantasy RPG art, late-1980s role-playing game cover-illustration sensibility, flat color shapes with hard edges, limited palette of six to eight hues - muted ochre, dusty slate blue, olive green, warm cream highlights, deep umber shadow, no gradients except two-step blends, strong silhouettes, readable at small size, painterly but economical detail, single isolated round medallion icon with a simple metal rim, a crossed dagger and lockpick in the center, dark leather grip and steel blade, side-on flat view, centered, isolated on a flat solid magenta background, complete silhouette, no text, no letters, no cast shadow diff --git a/art/prep/klassen-embleme/prompt_kaempfer.txt b/art/prep/klassen-embleme/prompt_kaempfer.txt new file mode 100644 index 0000000..a578a53 --- /dev/null +++ b/art/prep/klassen-embleme/prompt_kaempfer.txt @@ -0,0 +1 @@ +illustrated fantasy RPG art, late-1980s role-playing game cover-illustration sensibility, flat color shapes with hard edges, limited palette of six to eight hues - muted ochre, dusty slate blue, olive green, warm cream highlights, deep umber shadow, no gradients except two-step blends, strong silhouettes, readable at small size, painterly but economical detail, single isolated round medallion icon, thick silver metal rim around the whole circle, a bold upright sword fully inside the medallion, steel blade with a gold crossguard, centered, the circle fills the frame, isolated on a flat solid magenta background, complete silhouette, no text, no letters, no cast shadow diff --git a/art/prep/klassen-embleme/prompt_kleriker.txt b/art/prep/klassen-embleme/prompt_kleriker.txt new file mode 100644 index 0000000..c5b7e68 --- /dev/null +++ b/art/prep/klassen-embleme/prompt_kleriker.txt @@ -0,0 +1 @@ +illustrated fantasy RPG art, late-1980s role-playing game cover-illustration sensibility, flat color shapes with hard edges, limited palette of six to eight hues - muted ochre, dusty slate blue, olive green, warm cream highlights, deep umber shadow, no gradients except two-step blends, strong silhouettes, readable at small size, painterly but economical detail, single isolated round medallion icon with a simple metal rim, a bold golden sun disc with short rays in the center, side-on flat view, centered, isolated on a flat solid magenta background, complete silhouette, no text, no letters, no cast shadow diff --git a/art/prep/klassen-embleme/prompt_magier.txt b/art/prep/klassen-embleme/prompt_magier.txt new file mode 100644 index 0000000..025c14a --- /dev/null +++ b/art/prep/klassen-embleme/prompt_magier.txt @@ -0,0 +1 @@ +illustrated fantasy RPG art, late-1980s role-playing game cover-illustration sensibility, flat color shapes with hard edges, limited palette of six to eight hues - muted ochre, dusty slate blue, olive green, warm cream highlights, deep umber shadow, no gradients except two-step blends, strong silhouettes, readable at small size, painterly but economical detail, single isolated round medallion icon, thick silver metal rim around the whole circle, an open spellbook with a small four-pointed star fully inside the medallion, centered, the circle fills the frame, isolated on a flat solid magenta background, complete silhouette, no text, no letters, no cast shadow diff --git a/art/prep/klassen-embleme/rendern.log b/art/prep/klassen-embleme/rendern.log new file mode 100644 index 0000000..6900b87 --- /dev/null +++ b/art/prep/klassen-embleme/rendern.log @@ -0,0 +1,33 @@ +=== kaempfer (s8101) === +Modell: FLUX.2 [klein] 9B (fal-ai/flux-2/klein/9b) — 0.2621 MP × 0.006 $/megapixels × 4 Bilder = 0.0063 $ + Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Objects/emblem_kaempfer_s8101_1.png + Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Objects/emblem_kaempfer_s8101_2.png + Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Objects/emblem_kaempfer_s8101_3.png + Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Objects/emblem_kaempfer_s8101_4.png + Anfrage: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Objects/emblem_kaempfer_s8101_1.json + Lizenzlog: 1 Zeile ergänzt (request_id 01a1e9cc-c961-7140-b0e2-dede3164e8a0) +=== kleriker (s8102) === +Modell: FLUX.2 [klein] 9B (fal-ai/flux-2/klein/9b) — 0.2621 MP × 0.006 $/megapixels × 4 Bilder = 0.0063 $ + Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Objects/emblem_kleriker_s8102_1.png + Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Objects/emblem_kleriker_s8102_2.png + Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Objects/emblem_kleriker_s8102_3.png + Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Objects/emblem_kleriker_s8102_4.png + Anfrage: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Objects/emblem_kleriker_s8102_1.json + Lizenzlog: 1 Zeile ergänzt (request_id 01a1e9cc-dcfe-7052-932e-f42a88c6d8fd) +=== magier (s8103) === +Modell: FLUX.2 [klein] 9B (fal-ai/flux-2/klein/9b) — 0.2621 MP × 0.006 $/megapixels × 4 Bilder = 0.0063 $ + Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Objects/emblem_magier_s8103_1.png + Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Objects/emblem_magier_s8103_2.png + Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Objects/emblem_magier_s8103_3.png + Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Objects/emblem_magier_s8103_4.png + Anfrage: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Objects/emblem_magier_s8103_1.json + Lizenzlog: 1 Zeile ergänzt (request_id 01a1e9cc-f1c0-74f3-a582-4f2a576d3992) +=== dieb (s8104) === +Modell: FLUX.2 [klein] 9B (fal-ai/flux-2/klein/9b) — 0.2621 MP × 0.006 $/megapixels × 4 Bilder = 0.0063 $ + Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Objects/emblem_dieb_s8104_1.png + Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Objects/emblem_dieb_s8104_2.png + Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Objects/emblem_dieb_s8104_3.png + Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Objects/emblem_dieb_s8104_4.png + Anfrage: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Objects/emblem_dieb_s8104_1.json + Lizenzlog: 1 Zeile ergänzt (request_id 01a1e9cd-06ab-7791-8b2a-d3c9592cc278) +=== fertig === diff --git a/art/prep/klassen-embleme/rendern.sh b/art/prep/klassen-embleme/rendern.sh new file mode 100755 index 0000000..13f44d0 --- /dev/null +++ b/art/prep/klassen-embleme/rendern.sh @@ -0,0 +1,27 @@ +#!/usr/bin/env bash +# Vier Klassen-Embleme (64 px) als runde Medaillons — 512², 4 Varianten je Klasse. +set -uo pipefail + +HIER="$(cd "$(dirname "$0")" && pwd)" +REPO="$(cd "$HIER/../../.." && pwd)" +PY="$HOME/.venvs/art/bin/python" +LOG="$HIER/rendern.log" + +: > "$LOG" + +lauf() { + local klasse="$1" seed="$2" + echo "=== $klasse (s$seed) ===" | tee -a "$LOG" + "$PY" "$REPO/art/tools/falgen.py" \ + --endpoint fal-ai/flux-2/klein/9b \ + --prompt-file "$HIER/prompt_$klasse.txt" \ + --size 512x512 --seed "$seed" --num-images 4 \ + --kategorie Objects --name "emblem_${klasse}_s${seed}" 2>&1 | tee -a "$LOG" +} + +lauf kaempfer 8101 +lauf kleriker 8102 +lauf magier 8103 +lauf dieb 8104 + +echo "=== fertig ===" | tee -a "$LOG" diff --git a/docs/charaktererstellung.md b/docs/charaktererstellung.md index 9329b27..e024e4b 100644 --- a/docs/charaktererstellung.md +++ b/docs/charaktererstellung.md @@ -1,8 +1,8 @@ # Charaktererstellung — Party, Punktekauf, Roster **Stand: 17.11.2026.** Roster und Figurenmaske sind gebaut und im Spiel der -Einstieg (vor dem Ortsbild). Startausrüstung und die vier Volk-Porträts -stehen; offen sind nur die Klassen-Embleme. Regeln: [`systeme.md`](systeme.md) §1–§4. Figuren: +Einstieg (vor dem Ortsbild). Startausrüstung, vier Volk-Porträts und vier +Klassen-Embleme stehen. Regeln: [`systeme.md`](systeme.md) §1–§4. Figuren: `projekt.md` §4. --- @@ -94,7 +94,7 @@ Volk weg vom Menschen, wird die Wahl verworfen. | UI-Probe (bauen, Punkte setzen, übernehmen) | `game/tools/probe_erstellung.tscn` | [x] | | Startausrüstung je Klasse | `game/data/classes.json` (`starting_equipment`) | [x] | | Volk-Porträts (4 × 384 px, gemalt) | `art/final/gemalt/portrait_volk_*_384.png` | [x] | -| Klassen-Embleme (4 × 64 px) | — | [ ] | +| Klassen-Embleme (4 × 64 px, gemalt) | `art/final/Objects/emblem_*_64.png` | [x] | ```bash godot --headless --path game -- --check @@ -122,10 +122,9 @@ leer, Roster nach Schnellstart, Figurenmaske. ## Offen -- **Klassen-Embleme:** Die vier Volk-Porträts tragen die Identität; Kämpfer, - Kleriker, Magier und Dieb brauchen noch je ein Emblem (64 px), damit die - Kombination Volk × Klasse vollständig lesbar ist. Die sechs 96er bleiben die - HUD-Miniaturen. +- **Zweite Gesichter:** Ein Gesicht je Volk deckt alle Kombinationen ab; + weitere Gesichter sind optional, wenn die Auswahl im Spiel mehr braucht. + Die sechs 96er bleiben die HUD-Miniaturen. - **Namensprüfung:** doppelte Namen sind erlaubt (ids sind der Schlüssel). - **Schnellstart:** steht als Knopf im Roster und als `--ohne-erstellung` für den Direktstart; später zusätzlich im Titelschirm. diff --git a/docs/roadmap.md b/docs/roadmap.md index 5a17b91..d2db2ac 100644 --- a/docs/roadmap.md +++ b/docs/roadmap.md @@ -543,8 +543,8 @@ Struktur, Datenmodell und Effekt-Vokabel stehen in [`engine.md`](engine.md). (1–6) als Logik (`scripts/systems/charakter.gd`), Prüfung in `--check` und `tools/probe_party.tscn`. Szene: `scenes/creation/erstellung.tscn` (Roster + Figurenmaske, Einstieg vor dem Ortsbild); UI-Probe - `tools/probe_erstellung.tscn`. Startausrüstung steht; die vier Volk-Porträts - (384 px, gemalt) sind in Maske und Roster. Offen: Klassen-Embleme — + `tools/probe_erstellung.tscn`. Startausrüstung, vier Volk-Porträts + (384 px) und vier Klassen-Embleme (64 px) sind in Maske und Roster — Entwurf in [`charaktererstellung.md`](charaktererstellung.md). - [ ] **Kartenwechsel** (Overland ↔ Stadt ↔ Dungeon), Inventar-UI. - [x] **Titelschirm** (`scenes/title/titel.tscn`): gemaltes Titelbild, diff --git a/docs/stand.md b/docs/stand.md index b36e55e..a4dff8a 100644 --- a/docs/stand.md +++ b/docs/stand.md @@ -62,6 +62,7 @@ bespielbar (Ortsbild → Gebiet → zurück). | `game/scenes/common/kreatur.gd` | Kreatur-Rendering: Klasse → Footprint/Anzeige, Anker, Schatten, TP-Balken, Dither | | `art/prep/kreatur-3x/` | Beleg der 3×-Kreaturen: Auswahl, Rohgrößen, Probe-Screenshot, Kosten | | `art/prep/volk-portraits/` | Beleg der vier Volk-Porträts (384 px): Auswahl, Seeds, Kontaktbogen | +| `art/prep/klassen-embleme/` | Beleg der vier Klassen-Embleme (64 px): Medaillons, Auswahl, Farbtest | | `art/final/gemalt/portrait_volk_*_384.png` | gemalte Volk-Porträts für Maske und Roster | | `art/final/Creatures/` | 11 Kreaturen **1:1** in Anzeigegröße (84/108/144/288/384/480) | | `game/scripts/systems/charakter.gd` | Punktekauf, Volksbonus, Ableitung und Prüfung der Erstellung | diff --git a/game/assets/objects/emblem_dieb_64.png b/game/assets/objects/emblem_dieb_64.png new file mode 100644 index 0000000..21cbb65 Binary files /dev/null and b/game/assets/objects/emblem_dieb_64.png differ diff --git a/game/assets/objects/emblem_dieb_64.png.import b/game/assets/objects/emblem_dieb_64.png.import new file mode 100644 index 0000000..d48e8be --- /dev/null +++ b/game/assets/objects/emblem_dieb_64.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://80okew63jihb" +path="res://.godot/imported/emblem_dieb_64.png-88aa1dfc4e11bf018880043f8cae9816.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/objects/emblem_dieb_64.png" +dest_files=["res://.godot/imported/emblem_dieb_64.png-88aa1dfc4e11bf018880043f8cae9816.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/game/assets/objects/emblem_kaempfer_64.png b/game/assets/objects/emblem_kaempfer_64.png new file mode 100644 index 0000000..7b3e15e Binary files /dev/null and b/game/assets/objects/emblem_kaempfer_64.png differ diff --git a/game/assets/objects/emblem_kaempfer_64.png.import b/game/assets/objects/emblem_kaempfer_64.png.import new file mode 100644 index 0000000..df0872e --- /dev/null +++ b/game/assets/objects/emblem_kaempfer_64.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b4n7e2wk01xnp" +path="res://.godot/imported/emblem_kaempfer_64.png-e3db0f9aee329f8662fbf69ff9208ce1.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/objects/emblem_kaempfer_64.png" +dest_files=["res://.godot/imported/emblem_kaempfer_64.png-e3db0f9aee329f8662fbf69ff9208ce1.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/game/assets/objects/emblem_kleriker_64.png b/game/assets/objects/emblem_kleriker_64.png new file mode 100644 index 0000000..4d45469 Binary files /dev/null and b/game/assets/objects/emblem_kleriker_64.png differ diff --git a/game/assets/objects/emblem_kleriker_64.png.import b/game/assets/objects/emblem_kleriker_64.png.import new file mode 100644 index 0000000..4c85cf3 --- /dev/null +++ b/game/assets/objects/emblem_kleriker_64.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dk8dj7es61iuy" +path="res://.godot/imported/emblem_kleriker_64.png-443ef19166b6cc23ae9ff7e7a7fd72d1.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/objects/emblem_kleriker_64.png" +dest_files=["res://.godot/imported/emblem_kleriker_64.png-443ef19166b6cc23ae9ff7e7a7fd72d1.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/game/assets/objects/emblem_magier_64.png b/game/assets/objects/emblem_magier_64.png new file mode 100644 index 0000000..e8d3704 Binary files /dev/null and b/game/assets/objects/emblem_magier_64.png differ diff --git a/game/assets/objects/emblem_magier_64.png.import b/game/assets/objects/emblem_magier_64.png.import new file mode 100644 index 0000000..66870d0 --- /dev/null +++ b/game/assets/objects/emblem_magier_64.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://brsri6nnof7fe" +path="res://.godot/imported/emblem_magier_64.png-eb8556617b367ac38cdb7797cd347829.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/objects/emblem_magier_64.png" +dest_files=["res://.godot/imported/emblem_magier_64.png-eb8556617b367ac38cdb7797cd347829.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/game/scenes/creation/erstellung.gd b/game/scenes/creation/erstellung.gd index ae4d019..e0c3422 100644 --- a/game/scenes/creation/erstellung.gd +++ b/game/scenes/creation/erstellung.gd @@ -24,6 +24,13 @@ const VOLK_PORTRAITS := { "dwarf": "portrait_volk_zwerg_384", "halfling": "portrait_volk_halbling_384", } +## 64er Klassen-Embleme (Objekte im 96er-Raster). +const KLASSE_EMBLEME := { + "fighter": "emblem_kaempfer_64", + "cleric": "emblem_kleriker_64", + "magier": "emblem_magier_64", + "thief": "emblem_dieb_64", +} const ABKUERZUNG := { "str": "STÄ", "dex": "GES", "con": "KON", "int": "INT", "wis": "WEI", "cha": "CHA", @@ -38,6 +45,7 @@ var _meldung := "" # Referenzen für `_aktualisiere()`. var _vorschau: TextureRect +var _emblem: TextureRect var _name_feld: LineEdit var _punkte: Label var _abgeleitet: Label @@ -164,6 +172,15 @@ func _karte(figur: Dictionary, pos: Vector2) -> void: tp.modulate = Color(0.85, 0.78, 0.62) p.add_child(tp) + var emblem := TextureRect.new() + emblem.position = pos + Vector2(480, 252) + emblem.size = Vector2(64, 64) + emblem.texture_filter = CanvasItem.TEXTURE_FILTER_NEAREST + emblem.expand_mode = TextureRect.EXPAND_IGNORE_SIZE + emblem.stretch_mode = TextureRect.STRETCH_KEEP_ASPECT_COVERED + emblem.texture = _klasse_bild(str(figur.get("class", ""))) + _wurzel.add_child(emblem) + _knopf("Entfernen", pos + Vector2(24, 256), Vector2(260, 56), _entfernen.bind(str(figur.get("id", "")))) @@ -236,6 +253,14 @@ func _baue_erstellung() -> void: _vorschau.stretch_mode = TextureRect.STRETCH_KEEP_ASPECT_COVERED p.add_child(_vorschau) + _emblem = TextureRect.new() + _emblem.position = Vector2(252, 312) + _emblem.size = Vector2(64, 64) + _emblem.texture_filter = CanvasItem.TEXTURE_FILTER_NEAREST + _emblem.expand_mode = TextureRect.EXPAND_IGNORE_SIZE + _emblem.stretch_mode = TextureRect.STRETCH_KEEP_ASPECT_COVERED + p.add_child(_emblem) + var gesicht := _label("Gesicht (HUD)", Vector2(40, 396), p) gesicht.size = Vector2(288, 32) gesicht.clip_text = true @@ -430,6 +455,8 @@ func _aktualisiere() -> void: if _c == null: return _vorschau.texture = _volk_bild(_c.volk_id) + if _emblem != null: + _emblem.texture = _klasse_bild(_c.klasse_id) for id in _volk_knoepfe: _volk_knoepfe[id].modulate = Color(1.45, 1.25, 0.95) \ @@ -483,6 +510,11 @@ func _volk_bild(volk_id: String) -> Texture2D: return load("res://assets/gemalt/%s.png" % id) +func _klasse_bild(klasse_id: String) -> Texture2D: + var id: String = KLASSE_EMBLEME.get(klasse_id, "emblem_kaempfer_64") + return load("res://assets/objects/%s.png" % id) + + func _portrait_von(figur: Dictionary) -> String: var p := str(figur.get("portrait", "")) return p if not p.is_empty() else _standard_portrait(str(figur.get("class", "")))