Generated gear parts (helmet, shoulder pieces, crown, cape, horns, plume) instead of drawn shapes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Richard ZinkandClaude Opus 5.5 committed 2026-11-08 00:11:47 +01:00
1 parent af330c09b7
commit 65ed76865d
16 files changed
+58 -16

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
# Gear parts (high-res)
The parts laid over the detailed sprites as their gear (helmet, shoulder piece, crown, cape,
horn, plume; `GEAR_*` and `gen_gear` in `src/gfx.rs`). Generated on 2026-11-08 with
`fal-ai/nano-banana-pro` (`aspect_ratio: 3:2`, `resolution: 2K`, one image), the prompt in
`batch.py`: six pieces in light neutral grey on magenta, so the game tints them (bronze, steel,
gold; the cape red for creatures, blue for heroes).
Processing (inline python, see the session): magenta keyed out, every piece cropped to its
picture, the horn mirrored, turned into light grey (luminance x 1.25), scaled to its place in the
gear texture (the old rects times four: helmet 96x48, shoulder 48x36, crown 80x40, cape 112x160,
horn 28x40, plume 28x48) with hard alpha; copied to `assets/textures/gear/<part>.png`.
+12
View File
@@ -0,0 +1,12 @@
# The gear parts laid over the detailed sprites (src/gfx.rs GEAR_*), 2026-11-08: one sheet,
# light neutral grey so the game tints them (bronze, steel, gold; the cape red or blue).
PROMPT = ("A sheet of six separate equipment pieces for a dark-fantasy pixel-art game, arranged in a grid of 3 columns and 2 rows, each piece centred "
"in its own cell and filling most of it, all in the same style: hand-painted pixel art, crisp edges, a dark near-black outline, shading lit "
"from the upper left, and every piece in LIGHT NEUTRAL GREY tones only (no other colours), so it can be tinted later. The background is a "
"completely flat pure magenta (#FF00FF) everywhere - no frames, no grid lines, no text. The pieces, in reading order: "
"1. a round metal helmet seen from the front, a dome with a riveted rim, no face, no visor; "
"2. a single rounded shoulder plate (pauldron) seen from the front, with two rivets; "
"3. a crown with three pointed spikes and small round gems; "
"4. a long cape seen from behind, hanging down, wider at the hem, with folds; "
"5. a single curved horn pointing up, slightly bent to the right; "
"6. a feather plume, a tall bushy crest.")
Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB