taloria/art/prompts/retro_crpg_style.md
torsten e03a5cff90 art/: Grafik-Pipeline ins Repo (Doku, Prompts, pixelize.py, ComfyUI-Jobs, Lizenzlog, Assets)
Der führende Stand der Asset-Erzeugung liegt jetzt in art/ statt nur in der
Workbench. Enthalten: WORKFLOW.md, prompts/retro_crpg_style.md,
tools/pixelize.py, workflows/*.json, license-log.csv und final/ (5 Kategorien,
engine-fertig). Rohbilder (assets/raw) und Referenz-Screenshots (inspire/)
bleiben bewusst draußen. .gdignore hält art/ aus dem Godot-Import.
2026-11-12 21:35:49 +01:00

6.7 KiB
Raw Blame History

Prompt-Bausteine — Retro-CRPG-Stil

Grundsatz: der Prompt beschreibt ein Bild, das anschließend mit tools/pixelize.py heruntergebrochen wird. Er beschreibt nicht Pixelart. Keine Wörter wie pixel art, 8-bit, 16 colors, EGA, CGA, 1988, DOS, screenshot, dithering — die führen genau zum Pixel-Matsch.

1. Style-Block (Basis, immer voran)

illustrated fantasy RPG environment 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

Variante kühl/kosmisch (Dungeon, Nacht, Kult):

... limited palette of cool slate blues and bone grey, single warm amber light source

Variante warm/bewohnt (Taverne, Dorf, Tageslicht):

... limited palette of ochre, terracotta and sun-bleached linen, soft warm light from one side

2. Motiv-Blöcke

Hintergrund-Szene (Viewport):

first-person view of <ORT/MOTIV>, eye level, wide establishing framing,
architecture framing the view, no characters in the foreground

Dialogporträt / NPC:

head and shoulders portrait of <FIGUR>, three-quarter view,
plain dark backdrop, single light from upper left, calm expression

Kampf-Sprite / Gegner:

full body of <GEGNER>, side-on three-quarter stance, centered,
isolated on flat neutral background, complete silhouette, feet visible

Item / Icon:

<OBJEKT>, isolated, centered, flat neutral background, no cast shadow

UI-Rahmen (nur wenn überhaupt generiert — meist besser als Prozedur):

ornamental frame border, stone and iron, symmetrical, empty center,
no text, no symbols

3. Negative Block

text, letters, watermark, signature, logo, UI overlay, frame,
photorealism, 3d render, plastic gloss, high detail noise,
chromatic aberration, gradients, blur, vignette, extra limbs

4. Zusammensetzen

<Style-Block>, <Motiv-Block>, <Kompositionszusatz>

Kompositionszusätze, die bei kleinen Zielmaßen wirklich helfen:

  • clear value separation between foreground, middle ground and sky
  • one dominant shape, two supporting shapes, everything else quiet
  • keep the upper third simple — sky or flat wall
  • no more than one point of interest per screen

5. Parameter-Faustregeln

Ziel Einstellung
Szene, final FLUX 2 pro, 1:1 oder 4:3, 1 Bild, Seed notieren
Varianten finden FLUX 2 klein/9b, 4 Bilder, 2–3 Runden, dann Gewinner groß nachziehen
Porträt 1:1, quadratisch, Kopf mittig, viel Rand (wird beschnitten)
Serie konsistent halten gleicher Style-Block, gleiche Palette, --palette in pixelize.py auf das erste freigegebene Asset

6. Beispiel: kompletter Prompt

illustrated fantasy RPG environment 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, first-person view of a harbor tavern interior at dusk, eye level, wide establishing framing, timber beams and a shuttered window with cold light behind it, clear value separation between foreground, middle ground and sky, one dominant shape, two supporting shapes, everything else quiet

Danach:

python3 tools/pixelize.py raw.png -o final.png --size 320x180 --colors 32 --upscale 4

Wenn das Ergebnis speckelt (viel Textur im Bild): --median 3 versucht es zu retten, frisst aber 1-px-Umrisslinien. Besser: Motiv ruhiger beschreiben („economical detail") oder ein Modell nehmen, das Flächen statt Textur malt.

7. Richtung B — gemalt (Skald / Caves of Lore)

Für den gemalten Zweig gilt eine andere Sprache. Statt „flache Formen" wird Licht und Tiefe beschrieben; die Auflösung macht danach pixelize.

Style-Block B (verwendet im Lauf vom 12.11.2026)

painterly fantasy RPG scene, dense detail held together by strong value
structure, deep blue-black shadows against a single warm amber light source,
cool desaturated blues and umbers, warm cream highlights, high contrast,
chunky readable volumes, light falling off in visible soft steps,
no fine linework, atmosphere over clarity,
late-1980s role-playing game cover-painting sensibility

Negativ-Block B

text, letters, watermark, signature, logo, ui, frame, pixel art, 8-bit, dither,
photorealism, 3d render, plastic gloss, chromatic aberration, blur, vignette,
oversaturated

pixel art steht hier bewusst im Negativ: das Modell soll malen, nicht Pixel vortäuschen. dither ebenfalls — Dithering ist Sache von pixelize.

Parameter B

python3 tools/pixelize.py raw.png -o final.png --size 320x180 --colors 64 \
    --levels 0.5 --gamma 1.3 --upscale 4
  • --levels 0.5 --gamma 1.3 sind nicht optional: B-Bilder sind Nachtbilder, ohne Tonwertspreizung fällt die halbe Fläche auf Schwarz zusammen.
  • Kein globales Dithering (siehe ../WORKFLOW.md §4.3 — bei 320×180 wirkt es als Filter, nicht als Maltechnik). --dither smart ist der Versuch, nur in weichen Verläufen zu mustern; brauchbar, aber noch nicht überzeugend.

Text-Block für B

Skald und Caves of Lore tragen die Atmosphäre nicht im Bild, sondern in der Textbox: große Fläche, viele Zeilen, Umbrüche mitten im Satz. Für Taloria heißt das: B-Szenen brauchen danach eine UI-Ebene mit deutlich mehr Textplatz als A-Szenen.

8. Sprites (Richtung A, freigestellt)

Für Kreaturen und Figuren, die im Spiel auf einem Hintergrund stehen:

<Style-Block A>, full body of <KREATUR>, <HALTUNG>, side-on view, centered,
isolated on a flat neutral mid-grey background, complete silhouette with all
four legs and the tail visible, no cast shadow, no ground plane

Dann --cutout 12. Drei Dinge, die sich bewährt haben:

  • „no cast shadow, no ground plane" ist Pflicht — sonst bleibt ein Schattenkeil am Boden, den die Flutfüllung nicht wegnimmt.
  • Neutrales Mittelgrau als Hintergrund, nicht Weiß: Weiß wird vom Modell gern als Licht interpretiert und hellt die Figur auf.
  • Defekte über Seeds lösen, nicht über Adjektive. „all four legs in the same grey fur, no dark limbs" hat bei FLUX nichts geändert; ein anderer Seed hat die Pose komplett ersetzt. 3–4 Seeds pro Motiv, dann auswählen.

Basisgröße für Kreaturen: 96×96 (Ausgabe 384×384). Für Gegner-Gruppen im Kampfbild eher 64×64, für Bosse 128×128 — jeweils 4× Ausgabe.