Branding: key art from the game — night street with lamps; banners and menu rebuilt

The banners and the title-screen background now come from frames taken in the capital instead of a
generated illustration. A night frame is shaded only slightly under the lettering.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Fulldroper
2026-10-14 05:42:58 +03:00
co-authored by Claude Opus 5.5
parent 54b4d63d97
commit 6ec630bf47
14 changed files with 8 additions and 4 deletions
+5 -2
View File
@@ -40,7 +40,10 @@
| `banners/invite.png` | картинка-запрошення, 1200×630 |
| `banners/wiki-cover.png` | обкладинка вікі й README, 1280×320 |
| `menu/` | головне меню гри для FancyMenu: тло, лого, макет |
| `art/keyart.png` | ілюстрація, з якої зроблено банери й тло меню |
| `art/keyart.png` | головний кадр: нічна вулиця з ліхтарями й вежею ратуші; з нього зроблено банери й тло меню |
| `art/street-lamps.png`, `art/street-tower.png`, `art/night-aerial.png`, `art/factory-hall.png` | інші нічні кадри столиці — запасні |
| `art/keyart-dawn.png`, `art/keyart-sunset.png` | міст і завод на світанку й на заході сонця |
| `art/emblem_raw.png` | вихідна картинка герба |
## Як перебудувати
@@ -70,4 +73,4 @@ python tools/branding/fancymenu.py <тека config гри або збірки>
## Обмеження
`art/keyart.png` і герб згенеровано локально моделлю Qwen-Image — ліцензія дозволяє лише некомерційне використання.
Герб згенеровано локально моделлю Qwen-Image — ліцензія дозволяє лише некомерційне використання. Кадри в `art/` зняті в грі на сервері; нічні — Full_droper, світанок і захід — фоторежимом (клієнтський скрипт KubeJS ховає інтерфейс і знімає за запитом, камеру ставить `tp` з консолі сервера).
Binary file not shown.

After

Width:  |  Height:  |  Size: 1022 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 597 KiB

After

Width:  |  Height:  |  Size: 515 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 840 KiB

After

Width:  |  Height:  |  Size: 731 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1004 KiB

After

Width:  |  Height:  |  Size: 872 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 538 KiB

After

Width:  |  Height:  |  Size: 408 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

After

Width:  |  Height:  |  Size: 2.0 MiB

+3 -2
View File
@@ -226,10 +226,11 @@ def main() -> None:
# --- banners ----------------------------------------------------------------------------------
art = Image.open(key_art).convert('RGB')
night = np.asarray(art.resize((64, 36))).mean() < 70 # a night frame is dark enough: shade it only a little
mark = emblem if emblem else gear(32)
def banner(w: int, h: int, name: str, extra: str = '', focus_y: float = 0.5) -> None:
base = shade(cover(art, w, h, focus_y), 0.55, 0.85)
base = shade(cover(art, w, h, focus_y), *((0.80, 1.0) if night else (0.55, 0.85)))
logo = fit(wordmark(1), int(w * 0.62), int(h * 0.26))
s = logo.width // wordmark(1).width
lines = [logo, fit(motto(1), int(w * 0.62), max(8, s * 4))]
@@ -247,7 +248,7 @@ def main() -> None:
banner(1280, 320, 'wiki-cover.png', focus_y=0.55)
# --- FancyMenu: title screen background, the logo it shows, window icons -------------------------
shade(cover(art, 1920, 1080), 0.80, 0.92).convert('RGB').save(OUT / 'menu' / 'background.png')
shade(cover(art, 1920, 1080), *((0.95, 1.0) if night else (0.80, 0.92))).convert('RGB').save(OUT / 'menu' / 'background.png')
stack([wordmark(8), motto(3)], gap=12).save(OUT / 'menu' / 'logo.png')
print('done:', ', '.join(sorted(str(p.relative_to(OUT)).replace('\\', '/') for p in OUT.rglob('*.png'))))