game: Abenteurer-Sprites im Kampf — acht Klassenfiguren
|
|
@ -51,6 +51,21 @@ Raws liegen in `$WORKBENCH/assets/raw/Creatures/`, Seed **271828**, vier
|
|||
Varianten je Motiv. Die Bbox entscheidet, nicht das Etikett: Der Ork ist hoch
|
||||
und breit, das Skelett hoch und schmal, die Spinne breit und flach.
|
||||
|
||||
## Heldensprites (Kampf)
|
||||
|
||||
Acht Abenteurer in 144 px, gleiche Pipeline, aber **keine Monster**: Sie
|
||||
ersetzen im Kampf die Porträts auf dem Feld. Auswahl nach Klasse und Körperbau:
|
||||
|
||||
| Klasse | normal (Mensch/Elf) | kurz (Zwerg/Halbling) |
|
||||
|---|---|---|
|
||||
| Kämpfer | `held_kaempfer_144px.png` | `held_kaempfer_kurz_144px.png` |
|
||||
| Kleriker | `held_kleriker_144px.png` | `held_kleriker_kurz_144px.png` |
|
||||
| Magier | `held_magier_144px.png` | `held_magier_kurz_144px.png` |
|
||||
| Dieb | `held_dieb_144px.png` | `held_dieb_kurz_144px.png` |
|
||||
|
||||
Die Partei-Spalte zeigt weiterhin die 96er-Porträts; auf dem Feld steht die
|
||||
Figur. Herkunft und Auswahl: [`../../prep/helden-serie/`](../../prep/helden-serie/README.md).
|
||||
|
||||
## Pipeline
|
||||
|
||||
```bash
|
||||
|
|
|
|||
BIN
art/final/Creatures/held_dieb_144px.png
Normal file
|
After Width: | Height: | Size: 7.5 KiB |
BIN
art/final/Creatures/held_dieb_kurz_144px.png
Normal file
|
After Width: | Height: | Size: 7.4 KiB |
BIN
art/final/Creatures/held_kaempfer_144px.png
Normal file
|
After Width: | Height: | Size: 7.2 KiB |
BIN
art/final/Creatures/held_kaempfer_kurz_144px.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
art/final/Creatures/held_kleriker_144px.png
Normal file
|
After Width: | Height: | Size: 7.4 KiB |
BIN
art/final/Creatures/held_kleriker_kurz_144px.png
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
BIN
art/final/Creatures/held_magier_144px.png
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
art/final/Creatures/held_magier_kurz_144px.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
|
|
@ -206,3 +206,11 @@ datum,endpoint_id,request_id,prompt,seed,lizenz
|
|||
2026-11-17,fal-ai/flux-2/klein/9b,01a1e9d9-7bb3-78e1-85e0-8a42844e0d17,"single isolated game item icon, flat color shapes with hard edges, bold silhouette, limited palette of muted ochre, steel blue, olive green, warm cream and deep umber, readable at 64 pixels, isolated on a flat solid magenta background, centered, complete silhouette, no text, no letters, no frame, no cast shadow, a cloth bundle of dried food, bread and cheese",9111,"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,01a1e9d9-feae-70b2-a91a-d586d61b0eba,"single isolated game item icon, a heavy chainmail hauberk made of small interlocking steel rings, clearly visible metal ring texture, metallic grey, short sleeves, hanging empty as a garment, flat color shapes with hard edges, bold silhouette, limited palette of steel blue, muted ochre and deep umber, readable at 64 pixels, isolated on a flat solid magenta background, centered, complete silhouette, no text, no letters, no frame, no cast shadow",9112,"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,01a1e9e4-cccc-7360-84e8-9d3ec3dbf906,"single isolated game item icon, a round glass vial filled with glowing red healing potion, a cork stopper, a small highlight on the glass, flat color shapes with hard edges, bold silhouette, limited palette of deep red, warm cream and muted ochre, readable at 64 pixels, isolated on a flat solid magenta background, centered, complete silhouette, no text, no letters, no frame, no cast shadow",9113,"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,01a1ea04-58a1-7950-90b8-e8a3f0fc2dc2,"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, full body of a human fighter in a chainmail hauberk and a simple iron helmet, holding a sword and a round shield, side-on three-quarter view, centered, isolated on a flat solid magenta background, complete silhouette with both arms and both legs visible, no cast shadow, no ground plane",10101,"FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 768x768, 0.5898 MP, x-fal-billable-units 2.25 = 0.01 USD, 4 Bilder"
|
||||
2026-11-17,fal-ai/flux-2/klein/9b,01a1ea04-7555-7650-91b2-7b450c39e44c,"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, full body of a human cleric in a long robe over chainmail, holding a mace and a small holy symbol, side-on three-quarter view, centered, isolated on a flat solid magenta background, complete silhouette with both arms and both legs visible, no cast shadow, no ground plane",10102,"FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 768x768, 0.5898 MP, x-fal-billable-units 2.25 = 0.01 USD, 4 Bilder"
|
||||
2026-11-17,fal-ai/flux-2/klein/9b,01a1ea04-8cf7-77d3-9da0-301e14413b2a,"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, full body of a human mage in a deep blue hooded robe, holding a wooden staff, side-on three-quarter view, centered, isolated on a flat solid magenta background, complete silhouette with both arms and both legs visible, no cast shadow, no ground plane",10103,"FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 768x768, 0.5898 MP, x-fal-billable-units 2.25 = 0.01 USD, 4 Bilder"
|
||||
2026-11-17,fal-ai/flux-2/klein/9b,01a1ea04-a7f6-7713-95ed-9d04722bbf07,"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, full body of a human rogue in a dark leather jerkin and a hood, holding a dagger, side-on three-quarter view, centered, isolated on a flat solid magenta background, complete silhouette with both arms and both legs visible, no cast shadow, no ground plane",10104,"FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 768x768, 0.5898 MP, x-fal-billable-units 2.25 = 0.01 USD, 4 Bilder"
|
||||
2026-11-17,fal-ai/flux-2/klein/9b,01a1ea04-bff9-72d0-8b3e-d38487c09d81,"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, full body of a short stocky dwarf fighter in a chainmail hauberk and a simple iron helmet, holding a sword and a round shield, side-on three-quarter view, centered, isolated on a flat solid magenta background, complete silhouette with both arms and both legs visible, no cast shadow, no ground plane",10105,"FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 768x768, 0.5898 MP, x-fal-billable-units 2.25 = 0.01 USD, 4 Bilder"
|
||||
2026-11-17,fal-ai/flux-2/klein/9b,01a1ea04-d927-7080-8b18-87b559d42f91,"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, full body of a short stocky dwarf cleric in a long robe over chainmail, holding a mace and a small holy symbol, side-on three-quarter view, centered, isolated on a flat solid magenta background, complete silhouette with both arms and both legs visible, no cast shadow, no ground plane",10106,"FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 768x768, 0.5898 MP, x-fal-billable-units 2.25 = 0.01 USD, 4 Bilder"
|
||||
2026-11-17,fal-ai/flux-2/klein/9b,01a1ea04-ef8d-7d92-a60a-662d7a008ca2,"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, full body of a short stocky halfling mage in a deep blue hooded robe, holding a wooden staff, side-on three-quarter view, centered, isolated on a flat solid magenta background, complete silhouette with both arms and both legs visible, no cast shadow, no ground plane",10107,"FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 768x768, 0.5898 MP, x-fal-billable-units 2.25 = 0.01 USD, 4 Bilder"
|
||||
2026-11-17,fal-ai/flux-2/klein/9b,01a1ea05-08cd-7311-927e-120b3ba63e33,"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, full body of a short stocky halfling rogue in a dark leather jerkin and a hood, holding a dagger, side-on three-quarter view, centered, isolated on a flat solid magenta background, complete silhouette with both arms and both legs visible, no cast shadow, no ground plane",10108,"FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 768x768, 0.5898 MP, x-fal-billable-units 2.25 = 0.01 USD, 4 Bilder"
|
||||
|
|
|
|||
|
57
art/prep/helden-serie/README.md
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
# Heldenserie — acht Abenteurer für das Kampffeld
|
||||
|
||||
Stand: 17.11.2026 · fal `klein/9b`, 768², 4 Varianten je Motiv.
|
||||
**32 Rohbilder, 8 gewählt, 0,114 $** (Lizenzzeilen in
|
||||
[`../../license-log.csv`](../../license-log.csv)).
|
||||
|
||||
**Frage:** Können Partei-Figuren im Kampf mit einem Abenteurer-Sprite statt mit
|
||||
ihrem Porträt stehen? **Ja.** Vier Klassen, je in normaler und kurzer Gestalt;
|
||||
die Partei-Spalte behält die Porträts.
|
||||
|
||||
| Bild | Zeigt |
|
||||
|---|---|
|
||||
| [`_kontakt.png`](_kontakt.png) | alle acht Motive, je vier Varianten |
|
||||
| [`_final.png`](_final.png) | der gewählte Satz bei 1,5× auf Gras |
|
||||
|
||||
## Aufbau
|
||||
|
||||
Style-Block und Aufbau wie die Kreaturen-Serie
|
||||
([`../creature-serie/`](../creature-serie/)): volle Figur, Seiten-/Dreiviertel-
|
||||
ansicht, Magenta-Grund, 1-px-Kontur, 32 Farben aus der Figur.
|
||||
|
||||
| Klasse | normal (Mensch/Elf) | kurz (Zwerg/Halbling) |
|
||||
|---|---|---|
|
||||
| Kämpfer | `held_kaempfer_144px` | `held_kaempfer_kurz_144px` |
|
||||
| Kleriker | `held_kleriker_144px` | `held_kleriker_kurz_144px` |
|
||||
| Magier | `held_magier_144px` | `held_magier_kurz_144px` |
|
||||
| Dieb | `held_dieb_144px` | `held_dieb_kurz_144px` |
|
||||
|
||||
Gewählt ist überall **Variante 1**. Der Kämpfer trägt Kette, Helm, Schwert und
|
||||
Rundschild; der Kleriker Robe über Kette, Streitkolben und Symbol; der Magier
|
||||
die blaue Kapuzenrobe mit Stab; der Dieb Lederwams, Kapuze und Dolch.
|
||||
|
||||
```bash
|
||||
export FAL_KEY=...
|
||||
art/prep/helden-serie/rendern.sh
|
||||
|
||||
python3 art/tools/pixelize.py <roh> -o art/final/Creatures/<name>_144px.png \
|
||||
--size 144x144 --colors 32 --cutout 12 --cutout-global --shrink 1 \
|
||||
--palette-figure --outline auto --recenter
|
||||
```
|
||||
|
||||
## Einsatz
|
||||
|
||||
- `game/scenes/combat/kampf.gd` wählt nach Klasse und Volk:
|
||||
`fighter → kaempfer`, `cleric → kleriker`, `magier → magier`,
|
||||
`thief → dieb`; `dwarf`/`halfling` bekommen die kurze Fassung.
|
||||
- Die Feld-Token sind `Kreatur`-Knoten der Klasse **mittel** (144 px): Footprint,
|
||||
Anker, Schatten, TP-Balken und Goldrahmen kommen aus dem bestehenden Renderer.
|
||||
- Die **Partei-Spalte** bleibt bei den 96er-Porträts; dort steht das Gesicht,
|
||||
auf dem Feld die Figur.
|
||||
|
||||
## Offen
|
||||
|
||||
- Weitere Volk-Varianten (Elf, Mensch als eigene Körper statt „normal"), falls
|
||||
die Unterschiede im Feld größer wirken sollen.
|
||||
- Waffenwechsel im Sprite (Schwert gegen Axt) erst mit Ausrüstungsvisuals.
|
||||
- Laufanimationen; die Figuren sind Standbilder wie die Gegner.
|
||||
BIN
art/prep/helden-serie/_final.png
Normal file
|
After Width: | Height: | Size: 78 KiB |
BIN
art/prep/helden-serie/_kontakt.png
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
1
art/prep/helden-serie/base.txt
Normal file
|
|
@ -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, full body of
|
||||
1
art/prep/helden-serie/prompt_dieb.txt
Normal file
|
|
@ -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, full body of a human rogue in a dark leather jerkin and a hood, holding a dagger, side-on three-quarter view, centered, isolated on a flat solid magenta background, complete silhouette with both arms and both legs visible, no cast shadow, no ground plane
|
||||
1
art/prep/helden-serie/prompt_dieb_kurz.txt
Normal file
|
|
@ -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, full body of a short stocky halfling rogue in a dark leather jerkin and a hood, holding a dagger, side-on three-quarter view, centered, isolated on a flat solid magenta background, complete silhouette with both arms and both legs visible, no cast shadow, no ground plane
|
||||
1
art/prep/helden-serie/prompt_kaempfer.txt
Normal file
|
|
@ -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, full body of a human fighter in a chainmail hauberk and a simple iron helmet, holding a sword and a round shield, side-on three-quarter view, centered, isolated on a flat solid magenta background, complete silhouette with both arms and both legs visible, no cast shadow, no ground plane
|
||||
1
art/prep/helden-serie/prompt_kaempfer_kurz.txt
Normal file
|
|
@ -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, full body of a short stocky dwarf fighter in a chainmail hauberk and a simple iron helmet, holding a sword and a round shield, side-on three-quarter view, centered, isolated on a flat solid magenta background, complete silhouette with both arms and both legs visible, no cast shadow, no ground plane
|
||||
1
art/prep/helden-serie/prompt_kleriker.txt
Normal file
|
|
@ -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, full body of a human cleric in a long robe over chainmail, holding a mace and a small holy symbol, side-on three-quarter view, centered, isolated on a flat solid magenta background, complete silhouette with both arms and both legs visible, no cast shadow, no ground plane
|
||||
1
art/prep/helden-serie/prompt_kleriker_kurz.txt
Normal file
|
|
@ -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, full body of a short stocky dwarf cleric in a long robe over chainmail, holding a mace and a small holy symbol, side-on three-quarter view, centered, isolated on a flat solid magenta background, complete silhouette with both arms and both legs visible, no cast shadow, no ground plane
|
||||
1
art/prep/helden-serie/prompt_magier.txt
Normal file
|
|
@ -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, full body of a human mage in a deep blue hooded robe, holding a wooden staff, side-on three-quarter view, centered, isolated on a flat solid magenta background, complete silhouette with both arms and both legs visible, no cast shadow, no ground plane
|
||||
1
art/prep/helden-serie/prompt_magier_kurz.txt
Normal file
|
|
@ -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, full body of a short stocky halfling mage in a deep blue hooded robe, holding a wooden staff, side-on three-quarter view, centered, isolated on a flat solid magenta background, complete silhouette with both arms and both legs visible, no cast shadow, no ground plane
|
||||
65
art/prep/helden-serie/rendern.log
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
=== kaempfer (s10101) ===
|
||||
Modell: FLUX.2 [klein] 9B (fal-ai/flux-2/klein/9b) — 0.5898 MP × 0.006 $/megapixels × 4 Bilder = 0.0142 $
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_kaempfer_s10101_1.png
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_kaempfer_s10101_2.png
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_kaempfer_s10101_3.png
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_kaempfer_s10101_4.png
|
||||
Anfrage: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_kaempfer_s10101_1.json
|
||||
Lizenzlog: 1 Zeile ergänzt (request_id 01a1ea04-58a1-7950-90b8-e8a3f0fc2dc2)
|
||||
=== kleriker (s10102) ===
|
||||
Modell: FLUX.2 [klein] 9B (fal-ai/flux-2/klein/9b) — 0.5898 MP × 0.006 $/megapixels × 4 Bilder = 0.0142 $
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_kleriker_s10102_1.png
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_kleriker_s10102_2.png
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_kleriker_s10102_3.png
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_kleriker_s10102_4.png
|
||||
Anfrage: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_kleriker_s10102_1.json
|
||||
Lizenzlog: 1 Zeile ergänzt (request_id 01a1ea04-7555-7650-91b2-7b450c39e44c)
|
||||
=== magier (s10103) ===
|
||||
Modell: FLUX.2 [klein] 9B (fal-ai/flux-2/klein/9b) — 0.5898 MP × 0.006 $/megapixels × 4 Bilder = 0.0142 $
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_magier_s10103_1.png
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_magier_s10103_2.png
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_magier_s10103_3.png
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_magier_s10103_4.png
|
||||
Anfrage: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_magier_s10103_1.json
|
||||
Lizenzlog: 1 Zeile ergänzt (request_id 01a1ea04-8cf7-77d3-9da0-301e14413b2a)
|
||||
=== dieb (s10104) ===
|
||||
Modell: FLUX.2 [klein] 9B (fal-ai/flux-2/klein/9b) — 0.5898 MP × 0.006 $/megapixels × 4 Bilder = 0.0142 $
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_dieb_s10104_1.png
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_dieb_s10104_2.png
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_dieb_s10104_3.png
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_dieb_s10104_4.png
|
||||
Anfrage: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_dieb_s10104_1.json
|
||||
Lizenzlog: 1 Zeile ergänzt (request_id 01a1ea04-a7f6-7713-95ed-9d04722bbf07)
|
||||
=== kaempfer_kurz (s10105) ===
|
||||
Modell: FLUX.2 [klein] 9B (fal-ai/flux-2/klein/9b) — 0.5898 MP × 0.006 $/megapixels × 4 Bilder = 0.0142 $
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_kaempfer_kurz_s10105_1.png
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_kaempfer_kurz_s10105_2.png
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_kaempfer_kurz_s10105_3.png
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_kaempfer_kurz_s10105_4.png
|
||||
Anfrage: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_kaempfer_kurz_s10105_1.json
|
||||
Lizenzlog: 1 Zeile ergänzt (request_id 01a1ea04-bff9-72d0-8b3e-d38487c09d81)
|
||||
=== kleriker_kurz (s10106) ===
|
||||
Modell: FLUX.2 [klein] 9B (fal-ai/flux-2/klein/9b) — 0.5898 MP × 0.006 $/megapixels × 4 Bilder = 0.0142 $
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_kleriker_kurz_s10106_1.png
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_kleriker_kurz_s10106_2.png
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_kleriker_kurz_s10106_3.png
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_kleriker_kurz_s10106_4.png
|
||||
Anfrage: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_kleriker_kurz_s10106_1.json
|
||||
Lizenzlog: 1 Zeile ergänzt (request_id 01a1ea04-d927-7080-8b18-87b559d42f91)
|
||||
=== magier_kurz (s10107) ===
|
||||
Modell: FLUX.2 [klein] 9B (fal-ai/flux-2/klein/9b) — 0.5898 MP × 0.006 $/megapixels × 4 Bilder = 0.0142 $
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_magier_kurz_s10107_1.png
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_magier_kurz_s10107_2.png
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_magier_kurz_s10107_3.png
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_magier_kurz_s10107_4.png
|
||||
Anfrage: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_magier_kurz_s10107_1.json
|
||||
Lizenzlog: 1 Zeile ergänzt (request_id 01a1ea04-ef8d-7d92-a60a-662d7a008ca2)
|
||||
=== dieb_kurz (s10108) ===
|
||||
Modell: FLUX.2 [klein] 9B (fal-ai/flux-2/klein/9b) — 0.5898 MP × 0.006 $/megapixels × 4 Bilder = 0.0142 $
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_dieb_kurz_s10108_1.png
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_dieb_kurz_s10108_2.png
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_dieb_kurz_s10108_3.png
|
||||
Rohbild: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_dieb_kurz_s10108_4.png
|
||||
Anfrage: /Users/torsten/Dokumente/workbench_taloria/assets/raw/Creatures/held_dieb_kurz_s10108_1.json
|
||||
Lizenzlog: 1 Zeile ergänzt (request_id 01a1ea05-08cd-7311-927e-120b3ba63e33)
|
||||
=== fertig ===
|
||||
29
art/prep/helden-serie/rendern.sh
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
#!/usr/bin/env bash
|
||||
# Acht Heldensprites (vier Klassen × normal/kurz), 768², 4 Varianten je Motiv.
|
||||
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 name="$1" seed="$2"
|
||||
echo "=== $name (s$seed) ===" | tee -a "$LOG"
|
||||
"$PY" "$REPO/art/tools/falgen.py" \
|
||||
--endpoint fal-ai/flux-2/klein/9b \
|
||||
--prompt-file "$HIER/prompt_$name.txt" \
|
||||
--size 768x768 --seed "$seed" --num-images 4 \
|
||||
--kategorie Creatures --name "held_${name}_s${seed}" 2>&1 | tee -a "$LOG"
|
||||
}
|
||||
|
||||
lauf kaempfer 10101
|
||||
lauf kleriker 10102
|
||||
lauf magier 10103
|
||||
lauf dieb 10104
|
||||
lauf kaempfer_kurz 10105
|
||||
lauf kleriker_kurz 10106
|
||||
lauf magier_kurz 10107
|
||||
lauf dieb_kurz 10108
|
||||
|
||||
echo "=== fertig ===" | tee -a "$LOG"
|
||||
|
|
@ -16,7 +16,9 @@ Kreatur-Satz, Partei aus den HUD-Porträts.
|
|||
Goldrahmen beim aktiven Zug.
|
||||
- **Statuszeile** unter dem Feld, darunter **Verteidigen / Rennen / Zug
|
||||
beenden**, rechts der Hinweis, unten das **Kampf-Log** (zwei Zeilen).
|
||||
- **Partei-Token** auf dem Feld: Porträt 96, TP-Balken, Goldrahmen am Boden.
|
||||
- **Partei-Token** auf dem Feld sind Abenteurer-Sprites (144 px, `held_*_144px`)
|
||||
im `Kreatur`-Renderer: Footprint, TP-Balken und Goldrahmen wie bei den
|
||||
Gegnern. Die Porträts bleiben in der Partei-Spalte.
|
||||
- **Gegner** sind `Kreatur`-Knoten: Footprint, Anker, Schatten, TP-Balken und
|
||||
Gold-Footprint beim aktiven Zug kommen aus dem bestehenden Renderer.
|
||||
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 147 KiB After Width: | Height: | Size: 149 KiB |
|
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 99 KiB |
|
|
@ -553,7 +553,9 @@ Struktur, Datenmodell und Effekt-Vokabel stehen in [`engine.md`](engine.md).
|
|||
- [x] **Kampf**: eigener Screen (`scenes/combat/kampf.tscn`), 18×9-Raster,
|
||||
Initiative, 4 Felder Bewegung + Aktion, Angriff/Verteidigen/Rennen,
|
||||
Treffer/RK/kritisch, TP, einfache Gegner-KI, Sieg mit Beute, Niederlage.
|
||||
Einstieg vorerst über den KAMPF-Knopf der Stadt. Beleg: `prep/kampf/`.
|
||||
Partei-Token sind Abenteurer-Sprites (`held_*_144px`, Klassen × Körperbau),
|
||||
die Porträts bleiben in der Spalte. Einstieg vorerst über den KAMPF-Knopf
|
||||
der Stadt. Belege: `prep/kampf/`, `prep/helden-serie/`.
|
||||
Offen: Zauber, Fernkampf, Deckung, Kartenbegegnungen.
|
||||
- [ ] **Kartenwechsel** (Overland ↔ Stadt ↔ Dungeon).
|
||||
- [x] **Titelschirm** (`scenes/title/titel.tscn`): gemaltes Titelbild,
|
||||
|
|
|
|||
|
|
@ -70,6 +70,7 @@ bespielbar (Ortsbild → Gebiet → zurück).
|
|||
| `game/scenes/title/titel.*` | Titelschirm: Neu, Weiter, Laden (3 Slots), Beenden |
|
||||
| `game/scenes/ui/inventar.*` | Inventar: Partei-Reiter, 5×3-Raster, Seiten, Tausch, Klassenprüfung |
|
||||
| `game/scenes/combat/kampf.*` | Kampf: 18×9-Raster, Initiative, Bewegung, Angriff, Sieg/Niederlage |
|
||||
| `art/prep/helden-serie/` | Beleg der acht Abenteurer-Sprites (Klassen × Körperbau) |
|
||||
| `art/prep/kampf/` | Beleg des Kampfes: Feld, Regeln, Sieg-Panel, Probe |
|
||||
| `game/scenes/ui/{item_slot,drop_reiter,drop_slot}.gd` | Drag & Drop für Rucksack, Partei-Reiter und Slots |
|
||||
| `game/scenes/ui/truhe.*` | Truhen-Modal: Gold/Beute, Traglastprüfung, einmalig |
|
||||
|
|
@ -168,9 +169,10 @@ Ohne Raws läuft das Spiel; sie fehlen nur, wenn `pixelize.py` oder
|
|||
|
||||
## Was diese Session gekostet hat
|
||||
|
||||
Renderings: **≈ 1,42 $** über 58 FLUX-Läufe (14.–17.11.). Davon
|
||||
Renderings: **≈ 1,53 $** über 66 FLUX-Läufe (14.–17.11.). Davon
|
||||
**0,372 $** Kreaturen (44 Rohbilder), **0,101 $** vier Volk-Porträts,
|
||||
**0,038 $** vier Klassen-Embleme, **0,373 $** fünf Vollbilder in 1920×1080
|
||||
(sechs erfolgreiche [pro]-Läufe) und **0,082 $** zwölf Item-Icons (inkl.
|
||||
Kette-Nachlauf und Heiltrank). Jede Zeile steht mit `request_id` in
|
||||
(sechs erfolgreiche [pro]-Läufe), **0,082 $** zwölf Item-Icons (inkl.
|
||||
Kette-Nachlauf und Heiltrank) und **0,114 $** acht Heldensprites. Jede Zeile
|
||||
steht mit `request_id` in
|
||||
[`../art/license-log.csv`](../art/license-log.csv).
|
||||
|
|
|
|||
|
|
@ -94,7 +94,8 @@ Kampfsprites stehen auf **48 px** (96er-Canvas halbiert), Gegner-TP als 18×2
|
|||
### Umsetzung 17.11.2026
|
||||
|
||||
Kampf steht als eigener Screen: Feld 18×9 à 96, Partei-Spalte 192, Status,
|
||||
Aktionsleiste, zweizeiliges Log. Partei-Token sind Porträts, Gegner nutzen den
|
||||
Aktionsleiste, zweizeiliges Log. Partei-Token sind Abenteurer-Sprites
|
||||
(`held_*_144px`), die Porträts bleiben in der Spalte; Gegner nutzen denselben
|
||||
`Kreatur`-Renderer mit Footprint und TP-Balken. Beleg:
|
||||
[`../art/prep/kampf/`](../art/prep/kampf/README.md).
|
||||
|
||||
|
|
|
|||
BIN
game/assets/creatures/held_dieb_144px.png
Normal file
|
After Width: | Height: | Size: 7.2 KiB |
40
game/assets/creatures/held_dieb_144px.png.import
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c6hht4bo0x1jo"
|
||||
path="res://.godot/imported/held_dieb_144px.png-2399786bef01f84352f3344f621d4e76.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/creatures/held_dieb_144px.png"
|
||||
dest_files=["res://.godot/imported/held_dieb_144px.png-2399786bef01f84352f3344f621d4e76.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
|
||||
BIN
game/assets/creatures/held_dieb_kurz_144px.png
Normal file
|
After Width: | Height: | Size: 6.9 KiB |
40
game/assets/creatures/held_dieb_kurz_144px.png.import
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c808rrw4carwx"
|
||||
path="res://.godot/imported/held_dieb_kurz_144px.png-4ab43e54c618d64bb197b12d15523053.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/creatures/held_dieb_kurz_144px.png"
|
||||
dest_files=["res://.godot/imported/held_dieb_kurz_144px.png-4ab43e54c618d64bb197b12d15523053.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
|
||||
BIN
game/assets/creatures/held_kaempfer_144px.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
40
game/assets/creatures/held_kaempfer_144px.png.import
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bnivpsawow05i"
|
||||
path="res://.godot/imported/held_kaempfer_144px.png-d57103e22d47011d46c842cacfe681a7.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/creatures/held_kaempfer_144px.png"
|
||||
dest_files=["res://.godot/imported/held_kaempfer_144px.png-d57103e22d47011d46c842cacfe681a7.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
|
||||
BIN
game/assets/creatures/held_kaempfer_kurz_144px.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
40
game/assets/creatures/held_kaempfer_kurz_144px.png.import
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://jj3h08stpoyl"
|
||||
path="res://.godot/imported/held_kaempfer_kurz_144px.png-5a606a2eb9ffe47a1129d87c25f46611.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/creatures/held_kaempfer_kurz_144px.png"
|
||||
dest_files=["res://.godot/imported/held_kaempfer_kurz_144px.png-5a606a2eb9ffe47a1129d87c25f46611.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
|
||||
BIN
game/assets/creatures/held_kleriker_144px.png
Normal file
|
After Width: | Height: | Size: 7.1 KiB |
40
game/assets/creatures/held_kleriker_144px.png.import
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://5mxct37wb1sp"
|
||||
path="res://.godot/imported/held_kleriker_144px.png-fbbcb6f57dad9519d6b3c79529e3edad.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/creatures/held_kleriker_144px.png"
|
||||
dest_files=["res://.godot/imported/held_kleriker_144px.png-fbbcb6f57dad9519d6b3c79529e3edad.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
|
||||
BIN
game/assets/creatures/held_kleriker_kurz_144px.png
Normal file
|
After Width: | Height: | Size: 8.9 KiB |
40
game/assets/creatures/held_kleriker_kurz_144px.png.import
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://qlj54vcatfuq"
|
||||
path="res://.godot/imported/held_kleriker_kurz_144px.png-4bdaf50176864938fe1f13f81d1ef48e.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/creatures/held_kleriker_kurz_144px.png"
|
||||
dest_files=["res://.godot/imported/held_kleriker_kurz_144px.png-4bdaf50176864938fe1f13f81d1ef48e.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
|
||||
BIN
game/assets/creatures/held_magier_144px.png
Normal file
|
After Width: | Height: | Size: 6.3 KiB |
40
game/assets/creatures/held_magier_144px.png.import
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://blmr5veg5snql"
|
||||
path="res://.godot/imported/held_magier_144px.png-9efd69438bf7b477161acd077c756531.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/creatures/held_magier_144px.png"
|
||||
dest_files=["res://.godot/imported/held_magier_144px.png-9efd69438bf7b477161acd077c756531.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
|
||||
BIN
game/assets/creatures/held_magier_kurz_144px.png
Normal file
|
After Width: | Height: | Size: 7.1 KiB |
40
game/assets/creatures/held_magier_kurz_144px.png.import
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dvf4sxw4xd54g"
|
||||
path="res://.godot/imported/held_magier_kurz_144px.png-fc04fa8841ab17590be91ceac816d0b6.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/creatures/held_magier_kurz_144px.png"
|
||||
dest_files=["res://.godot/imported/held_magier_kurz_144px.png-fc04fa8841ab17590be91ceac816d0b6.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
|
||||
|
|
@ -1,72 +0,0 @@
|
|||
class_name HeldToken
|
||||
extends Node2D
|
||||
## Partei-Token im Kampf: Porträt, Name, TP-Balken, aktiver Goldring.
|
||||
|
||||
const FONT := preload("res://assets/font/font16_12_2x.fnt")
|
||||
const THEME := preload("res://scripts/ui/ui_theme.gd")
|
||||
const SCHATTEN := preload("res://scenes/common/schatten.gd")
|
||||
|
||||
var textur: Texture2D
|
||||
var anzeigename := ""
|
||||
var hp := 1
|
||||
var hp_max := 1
|
||||
var aktiv := false:
|
||||
set(wert):
|
||||
aktiv = wert
|
||||
if _rahmen != null:
|
||||
_rahmen.visible = wert
|
||||
queue_redraw()
|
||||
var bewusstlos := false:
|
||||
set(wert):
|
||||
bewusstlos = wert
|
||||
modulate = Color(0.55, 0.5, 0.5) if wert else Color(1, 1, 1)
|
||||
queue_redraw()
|
||||
|
||||
var _sprite: Sprite2D
|
||||
var _rahmen: Panel
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
_sprite = Sprite2D.new()
|
||||
_sprite.texture = textur
|
||||
_sprite.centered = true
|
||||
_sprite.position = Vector2(0, -48)
|
||||
_sprite.texture_filter = CanvasItem.TEXTURE_FILTER_NEAREST
|
||||
add_child(_sprite)
|
||||
|
||||
var sch := SCHATTEN.new()
|
||||
sch.breite = 80
|
||||
sch.hoehe = 16
|
||||
sch.position = Vector2(0, -6)
|
||||
add_child(sch)
|
||||
|
||||
_rahmen = Panel.new()
|
||||
_rahmen.position = Vector2(-48, -96)
|
||||
_rahmen.size = Vector2(96, 96)
|
||||
_rahmen.mouse_filter = Control.MOUSE_FILTER_IGNORE
|
||||
var sb := StyleBoxFlat.new()
|
||||
sb.bg_color = Color(0, 0, 0, 0)
|
||||
sb.border_color = THEME.GOLD
|
||||
sb.set_border_width_all(3)
|
||||
_rahmen.add_theme_stylebox_override("panel", sb)
|
||||
_rahmen.visible = aktiv
|
||||
add_child(_rahmen)
|
||||
|
||||
queue_redraw()
|
||||
|
||||
|
||||
func set_hp(wert: int, maximum: int) -> void:
|
||||
hp = wert
|
||||
hp_max = maximum
|
||||
queue_redraw()
|
||||
|
||||
|
||||
func _draw() -> void:
|
||||
var breite := 80.0
|
||||
var y := -104.0
|
||||
draw_rect(Rect2(-breite * 0.5, y, breite, 10), THEME.INK, true)
|
||||
var anteil := clampf(float(hp) / float(maxi(hp_max, 1)), 0.0, 1.0)
|
||||
draw_rect(Rect2(-breite * 0.5 + 1, y + 1, (breite - 2) * anteil, 8),
|
||||
Color(0.45, 0.72, 0.34) if hp > hp_max / 3 else Color(0.82, 0.35, 0.25),
|
||||
true)
|
||||
|
||||
|
|
@ -1 +0,0 @@
|
|||
uid://calpirw04ifn8
|
||||
|
|
@ -8,7 +8,6 @@ extends Node2D
|
|||
signal beendet(sieg: bool)
|
||||
|
||||
const KREATUR := preload("res://scenes/common/kreatur.gd")
|
||||
const HELD := preload("res://scenes/combat/held_token.gd")
|
||||
const THEME := preload("res://scripts/ui/ui_theme.gd")
|
||||
const SCHATTEN := preload("res://scenes/common/schatten.gd")
|
||||
const KAMPF_REGELN := preload("res://scripts/systems/kampf_regeln.gd")
|
||||
|
|
@ -113,20 +112,23 @@ func _boden() -> void:
|
|||
# --------------------------------------------------------------- Aufbau ----
|
||||
|
||||
func _partei_setzen() -> void:
|
||||
var start := [Vector2i(1, 2), Vector2i(1, 3), Vector2i(1, 4),
|
||||
Vector2i(1, 5), Vector2i(2, 2), Vector2i(2, 3)]
|
||||
var start := [Vector2i(1, 2), Vector2i(3, 2), Vector2i(1, 4),
|
||||
Vector2i(3, 4), Vector2i(1, 6), Vector2i(3, 6)]
|
||||
for i in mini(Game.party.size(), start.size()):
|
||||
var figur: Dictionary = Game.party[i]
|
||||
var kachel: Vector2i = start[i]
|
||||
var token: HeldToken = HELD.new()
|
||||
token.textur = _portrait(figur)
|
||||
token.anzeigename = str(figur.get("name", "?"))
|
||||
token.position = _fuss(kachel)
|
||||
token.set_hp(int(figur["hp"]["current"]), int(figur["hp"]["max"]))
|
||||
var token: Node2D = KREATUR.new()
|
||||
token.set("klasse", "mittel")
|
||||
token.set("kachel", kachel)
|
||||
token.set("name_text", str(figur.get("name", "?")))
|
||||
token.set("tp", int(figur["hp"]["current"]))
|
||||
token.set("tp_max", int(figur["hp"]["max"]))
|
||||
token.set("textur", _held_textur(figur))
|
||||
_feld.add_child(token)
|
||||
var einheit := {
|
||||
"name": str(figur.get("name", "?")), "team": "partei",
|
||||
"node": token, "tile": kachel, "size": Vector2i(1, 1),
|
||||
"portrait": _portrait(figur),
|
||||
"hp": int(figur["hp"]["current"]), "hp_max": int(figur["hp"]["max"]),
|
||||
"rk": Game.rk(figur), "bonus": KAMPF_REGELN.nahkampf_bonus(figur),
|
||||
"damage": KAMPF_REGELN.waffe(figur), "move": 4,
|
||||
|
|
@ -249,6 +251,19 @@ func _position(e: Dictionary) -> Vector2:
|
|||
return KREATUR.fusspunkt(e["tile"], e["size"])
|
||||
|
||||
|
||||
func _held_textur(figur: Dictionary) -> Texture2D:
|
||||
var klasse := str(figur.get("class", "fighter"))
|
||||
var basis := "kaempfer"
|
||||
match klasse:
|
||||
"cleric": basis = "kleriker"
|
||||
"magier": basis = "magier"
|
||||
"thief": basis = "dieb"
|
||||
var kurz := str(figur.get("race", "")) in ["dwarf", "halfling"]
|
||||
var id := "held_%s%s_144px" % [basis, "_kurz" if kurz else ""]
|
||||
var pfad := "res://assets/creatures/%s.png" % id
|
||||
return load(pfad) if ResourceLoader.exists(pfad) else null
|
||||
|
||||
|
||||
func _portrait(figur: Dictionary) -> Texture2D:
|
||||
var name := str(figur.get("portrait", ""))
|
||||
if name.is_empty():
|
||||
|
|
@ -356,7 +371,7 @@ func _partei_ui() -> void:
|
|||
_party_box.add_child(p)
|
||||
|
||||
var portrait := TextureRect.new()
|
||||
portrait.texture = e["node"].get("textur")
|
||||
portrait.texture = e["portrait"]
|
||||
portrait.position = Vector2(44, 2)
|
||||
portrait.size = Vector2(96, 96)
|
||||
portrait.expand_mode = TextureRect.EXPAND_IGNORE_SIZE
|
||||
|
|
@ -424,10 +439,7 @@ func _naechster_zug() -> void:
|
|||
_erreichbar.clear()
|
||||
for i in _einheiten.size():
|
||||
var e: Dictionary = _einheiten[i]
|
||||
if e["team"] == "partei":
|
||||
e["node"].set("aktiv", i == _aktiver)
|
||||
else:
|
||||
e["node"].set("ausgewaehlt", i == _aktiver)
|
||||
e["node"].set("ausgewaehlt", i == _aktiver)
|
||||
_ui_aktualisieren()
|
||||
if aktiv["team"] == "monster":
|
||||
call_deferred("_monster_zug")
|
||||
|
|
@ -602,9 +614,7 @@ func _angriff(angreifer_idx: int, ziel_idx: int) -> void:
|
|||
if z["team"] == "partei":
|
||||
var figur: Dictionary = z["figur"]
|
||||
figur["hp"]["current"] = int(z["hp"])
|
||||
z["node"].set_hp(int(z["hp"]), int(z["hp_max"]))
|
||||
else:
|
||||
z["node"].set("tp", int(z["hp"]))
|
||||
z["node"].set("tp", int(z["hp"]))
|
||||
if angreifer_idx == _aktiver and a["team"] == "partei":
|
||||
_aktion = false
|
||||
_ui_aktualisieren()
|
||||
|
|
@ -626,7 +636,8 @@ func _todesfall(index: int) -> void:
|
|||
e["alive"] = false
|
||||
_entbelegen(index)
|
||||
if e["team"] == "partei":
|
||||
e["node"].set("bewusstlos", true)
|
||||
e["node"].modulate = Color(0.5, 0.45, 0.45)
|
||||
e["node"].set("tp", 0)
|
||||
_log("%s geht zu Boden." % e["name"])
|
||||
else:
|
||||
e["node"].queue_free()
|
||||
|
|
@ -770,6 +781,10 @@ func _ende(sieg: bool) -> void:
|
|||
return
|
||||
_enden = true
|
||||
_sieg = sieg
|
||||
_aktiver = -1
|
||||
for e in _einheiten:
|
||||
e["node"].set("ausgewaehlt", false)
|
||||
_partei_ui()
|
||||
for kind in _marker.get_children():
|
||||
_marker.remove_child(kind)
|
||||
kind.queue_free()
|
||||
|
|
@ -787,8 +802,8 @@ func _ende(sieg: bool) -> void:
|
|||
e["hp"] = 1
|
||||
var figur: Dictionary = e["figur"]
|
||||
figur["hp"]["current"] = 1
|
||||
e["node"].set("bewusstlos", false)
|
||||
e["node"].set_hp(1, int(e["hp_max"]))
|
||||
e["node"].modulate = Color(1, 1, 1)
|
||||
e["node"].set("tp", 1)
|
||||
Game.notiz("Sieg: %s (+%d Gold)" % [str(_encounter.get("name", "")), gold])
|
||||
_ergebnis("SIEG", "Beute: %d Gold%s" % [
|
||||
gold, "" if beute.is_empty() else " und " + ", ".join(beute)], true)
|
||||
|
|
|
|||