art: 3x-Master — final3x, UI3 und Stadt-Satz aus alten Raws
- final3x/ als Master für 1920x1080: Fonts, UI-Satz, 96-px-Stadt - Stadt/Boden aus den alten 1024er-Raws neu gerechnet (Erde, Gras, Wand, Fachwerkdach, goldene Tür) statt aus den neuen Prompts - ui3.py, ui_slice.py und engine_assets.py auf 3x umgestellt - Belege: Bildschirm vorher/nachher, Elemente, Kachelvergleiche
18
art/final3x/Creatures/README.md
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Creatures — 288er-Canvas (fehlt)
|
||||
|
||||
Stand: 15.11.2026 · **noch nicht gezogen.**
|
||||
|
||||
Die acht Gegner aus `game/data/monsters.json` brauchen neue Raws und einen
|
||||
Lauf mit `--size 288x288` (Canvas). Die Zeichnung folgt derselben Leiter wie
|
||||
bisher, nur ×3:
|
||||
|
||||
| Zeichnung im 288er-Canvas | Gegner |
|
||||
|---|---|
|
||||
| 168 | Ratte |
|
||||
| 216 | Goblin |
|
||||
| 288 | Wolf, Ork, Skelett, Ghul, Schwertkämpfer, Spinne |
|
||||
| 384 (eigene Canvas) | Boss |
|
||||
|
||||
Im Kampf werden sie auf **144 px** gezeigt (halbe Canvas). Die 640er-Fassung
|
||||
in [`../../final/Creatures/`](../../final/Creatures/) bleibt als Vergleich.
|
||||
Regeln und Messwerte: [`../../final/Creatures/README.md`](../../final/Creatures/README.md).
|
||||
120
art/final3x/Font/pirataone_36.fnt
Normal file
|
|
@ -0,0 +1,120 @@
|
|||
info face="pirataone_36" size=36 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=0 aa=1 padding=0,0,0,0 spacing=0,0 outline=0
|
||||
common lineHeight=54 base=37 scaleW=512 scaleH=104 pages=1 packed=0 alphaChnl=0 redChnl=4 greenChnl=4 blueChnl=4
|
||||
page id=0 file="pirataone_36_atlas.png"
|
||||
chars count=116
|
||||
char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=0 xadvance=7 page=0 chnl=15
|
||||
char id=33 x=1 y=0 width=7 height=30 xoffset=0 yoffset=10 xadvance=8 page=0 chnl=15
|
||||
char id=34 x=9 y=0 width=9 height=7 xoffset=1 yoffset=9 xadvance=11 page=0 chnl=15
|
||||
char id=35 x=19 y=0 width=25 height=25 xoffset=-2 yoffset=12 xadvance=21 page=0 chnl=15
|
||||
char id=36 x=45 y=0 width=12 height=33 xoffset=2 yoffset=7 xadvance=15 page=0 chnl=15
|
||||
char id=37 x=58 y=0 width=21 height=27 xoffset=2 yoffset=11 xadvance=25 page=0 chnl=15
|
||||
char id=38 x=80 y=0 width=13 height=28 xoffset=2 yoffset=9 xadvance=15 page=0 chnl=15
|
||||
char id=39 x=94 y=0 width=3 height=7 xoffset=1 yoffset=9 xadvance=5 page=0 chnl=15
|
||||
char id=40 x=98 y=0 width=10 height=30 xoffset=1 yoffset=9 xadvance=11 page=0 chnl=15
|
||||
char id=41 x=109 y=0 width=10 height=30 xoffset=1 yoffset=9 xadvance=11 page=0 chnl=15
|
||||
char id=42 x=120 y=0 width=9 height=10 xoffset=2 yoffset=10 xadvance=12 page=0 chnl=15
|
||||
char id=43 x=130 y=0 width=13 height=13 xoffset=1 yoffset=20 xadvance=15 page=0 chnl=15
|
||||
char id=44 x=144 y=0 width=4 height=10 xoffset=2 yoffset=32 xadvance=8 page=0 chnl=15
|
||||
char id=45 x=149 y=0 width=12 height=3 xoffset=1 yoffset=25 xadvance=14 page=0 chnl=15
|
||||
char id=46 x=162 y=0 width=4 height=6 xoffset=2 yoffset=31 xadvance=8 page=0 chnl=15
|
||||
char id=47 x=167 y=0 width=12 height=27 xoffset=-2 yoffset=11 xadvance=6 page=0 chnl=15
|
||||
char id=48 x=180 y=0 width=12 height=28 xoffset=2 yoffset=9 xadvance=16 page=0 chnl=15
|
||||
char id=49 x=193 y=0 width=8 height=28 xoffset=0 yoffset=9 xadvance=9 page=0 chnl=15
|
||||
char id=50 x=202 y=0 width=14 height=28 xoffset=0 yoffset=9 xadvance=14 page=0 chnl=15
|
||||
char id=51 x=217 y=0 width=13 height=28 xoffset=0 yoffset=9 xadvance=15 page=0 chnl=15
|
||||
char id=52 x=231 y=0 width=14 height=28 xoffset=0 yoffset=9 xadvance=14 page=0 chnl=15
|
||||
char id=53 x=246 y=0 width=12 height=28 xoffset=2 yoffset=9 xadvance=16 page=0 chnl=15
|
||||
char id=54 x=259 y=0 width=12 height=28 xoffset=2 yoffset=9 xadvance=16 page=0 chnl=15
|
||||
char id=55 x=272 y=0 width=12 height=29 xoffset=1 yoffset=8 xadvance=13 page=0 chnl=15
|
||||
char id=56 x=285 y=0 width=12 height=28 xoffset=2 yoffset=9 xadvance=16 page=0 chnl=15
|
||||
char id=57 x=298 y=0 width=12 height=28 xoffset=2 yoffset=9 xadvance=16 page=0 chnl=15
|
||||
char id=58 x=311 y=0 width=4 height=16 xoffset=2 yoffset=21 xadvance=8 page=0 chnl=15
|
||||
char id=59 x=316 y=0 width=4 height=21 xoffset=2 yoffset=21 xadvance=8 page=0 chnl=15
|
||||
char id=60 x=321 y=0 width=11 height=14 xoffset=1 yoffset=20 xadvance=13 page=0 chnl=15
|
||||
char id=61 x=333 y=0 width=12 height=8 xoffset=1 yoffset=22 xadvance=14 page=0 chnl=15
|
||||
char id=62 x=346 y=0 width=11 height=14 xoffset=1 yoffset=20 xadvance=13 page=0 chnl=15
|
||||
char id=63 x=358 y=0 width=12 height=31 xoffset=1 yoffset=9 xadvance=15 page=0 chnl=15
|
||||
char id=64 x=371 y=0 width=16 height=24 xoffset=2 yoffset=15 xadvance=19 page=0 chnl=15
|
||||
char id=65 x=388 y=0 width=15 height=29 xoffset=0 yoffset=9 xadvance=16 page=0 chnl=15
|
||||
char id=66 x=404 y=0 width=14 height=28 xoffset=0 yoffset=9 xadvance=15 page=0 chnl=15
|
||||
char id=67 x=419 y=0 width=12 height=28 xoffset=2 yoffset=9 xadvance=15 page=0 chnl=15
|
||||
char id=68 x=432 y=0 width=14 height=28 xoffset=0 yoffset=9 xadvance=16 page=0 chnl=15
|
||||
char id=69 x=447 y=0 width=12 height=28 xoffset=2 yoffset=9 xadvance=15 page=0 chnl=15
|
||||
char id=70 x=460 y=0 width=14 height=29 xoffset=0 yoffset=9 xadvance=13 page=0 chnl=15
|
||||
char id=71 x=475 y=0 width=12 height=28 xoffset=2 yoffset=9 xadvance=15 page=0 chnl=15
|
||||
char id=72 x=488 y=0 width=15 height=28 xoffset=0 yoffset=10 xadvance=15 page=0 chnl=15
|
||||
char id=73 x=504 y=0 width=8 height=28 xoffset=0 yoffset=9 xadvance=8 page=0 chnl=15
|
||||
char id=74 x=0 y=34 width=9 height=33 xoffset=-2 yoffset=10 xadvance=8 page=0 chnl=15
|
||||
char id=75 x=10 y=34 width=16 height=28 xoffset=0 yoffset=10 xadvance=15 page=0 chnl=15
|
||||
char id=76 x=27 y=34 width=13 height=28 xoffset=0 yoffset=9 xadvance=13 page=0 chnl=15
|
||||
char id=77 x=41 y=34 width=23 height=29 xoffset=0 yoffset=9 xadvance=23 page=0 chnl=15
|
||||
char id=78 x=65 y=34 width=15 height=29 xoffset=0 yoffset=9 xadvance=15 page=0 chnl=15
|
||||
char id=79 x=81 y=34 width=12 height=28 xoffset=2 yoffset=9 xadvance=16 page=0 chnl=15
|
||||
char id=80 x=94 y=34 width=14 height=29 xoffset=0 yoffset=9 xadvance=15 page=0 chnl=15
|
||||
char id=81 x=109 y=34 width=14 height=34 xoffset=2 yoffset=9 xadvance=16 page=0 chnl=15
|
||||
char id=82 x=124 y=34 width=16 height=29 xoffset=0 yoffset=9 xadvance=16 page=0 chnl=15
|
||||
char id=83 x=141 y=34 width=12 height=28 xoffset=2 yoffset=9 xadvance=15 page=0 chnl=15
|
||||
char id=84 x=154 y=34 width=17 height=29 xoffset=-2 yoffset=9 xadvance=13 page=0 chnl=15
|
||||
char id=85 x=172 y=34 width=15 height=27 xoffset=0 yoffset=10 xadvance=15 page=0 chnl=15
|
||||
char id=86 x=188 y=34 width=15 height=27 xoffset=0 yoffset=10 xadvance=16 page=0 chnl=15
|
||||
char id=87 x=204 y=34 width=21 height=28 xoffset=0 yoffset=9 xadvance=23 page=0 chnl=15
|
||||
char id=88 x=226 y=34 width=15 height=28 xoffset=1 yoffset=9 xadvance=16 page=0 chnl=15
|
||||
char id=89 x=242 y=34 width=14 height=28 xoffset=-1 yoffset=9 xadvance=14 page=0 chnl=15
|
||||
char id=90 x=257 y=34 width=13 height=29 xoffset=0 yoffset=8 xadvance=13 page=0 chnl=15
|
||||
char id=91 x=271 y=34 width=6 height=28 xoffset=2 yoffset=10 xadvance=8 page=0 chnl=15
|
||||
char id=92 x=278 y=34 width=12 height=27 xoffset=-3 yoffset=11 xadvance=6 page=0 chnl=15
|
||||
char id=93 x=291 y=34 width=6 height=28 xoffset=0 yoffset=10 xadvance=8 page=0 chnl=15
|
||||
char id=94 x=298 y=34 width=12 height=6 xoffset=1 yoffset=8 xadvance=14 page=0 chnl=15
|
||||
char id=95 x=311 y=34 width=12 height=3 xoffset=1 yoffset=37 xadvance=14 page=0 chnl=15
|
||||
char id=96 x=324 y=34 width=5 height=6 xoffset=1 yoffset=8 xadvance=7 page=0 chnl=15
|
||||
char id=97 x=330 y=34 width=14 height=20 xoffset=1 yoffset=17 xadvance=15 page=0 chnl=15
|
||||
char id=98 x=345 y=34 width=14 height=27 xoffset=0 yoffset=10 xadvance=15 page=0 chnl=15
|
||||
char id=99 x=360 y=34 width=12 height=20 xoffset=2 yoffset=17 xadvance=15 page=0 chnl=15
|
||||
char id=100 x=373 y=34 width=13 height=28 xoffset=2 yoffset=9 xadvance=15 page=0 chnl=15
|
||||
char id=101 x=387 y=34 width=12 height=20 xoffset=2 yoffset=17 xadvance=15 page=0 chnl=15
|
||||
char id=102 x=400 y=34 width=12 height=28 xoffset=0 yoffset=9 xadvance=12 page=0 chnl=15
|
||||
char id=103 x=413 y=34 width=12 height=26 xoffset=2 yoffset=17 xadvance=16 page=0 chnl=15
|
||||
char id=104 x=426 y=34 width=15 height=27 xoffset=0 yoffset=10 xadvance=15 page=0 chnl=15
|
||||
char id=105 x=442 y=34 width=7 height=28 xoffset=1 yoffset=9 xadvance=8 page=0 chnl=15
|
||||
char id=106 x=450 y=34 width=8 height=34 xoffset=-2 yoffset=9 xadvance=8 page=0 chnl=15
|
||||
char id=107 x=459 y=34 width=16 height=27 xoffset=0 yoffset=10 xadvance=15 page=0 chnl=15
|
||||
char id=108 x=476 y=34 width=8 height=27 xoffset=0 yoffset=10 xadvance=8 page=0 chnl=15
|
||||
char id=109 x=485 y=34 width=23 height=20 xoffset=0 yoffset=17 xadvance=23 page=0 chnl=15
|
||||
char id=110 x=0 y=69 width=15 height=20 xoffset=0 yoffset=17 xadvance=15 page=0 chnl=15
|
||||
char id=111 x=16 y=69 width=12 height=20 xoffset=2 yoffset=17 xadvance=16 page=0 chnl=15
|
||||
char id=112 x=29 y=69 width=14 height=26 xoffset=0 yoffset=17 xadvance=15 page=0 chnl=15
|
||||
char id=113 x=44 y=69 width=13 height=26 xoffset=2 yoffset=17 xadvance=16 page=0 chnl=15
|
||||
char id=114 x=58 y=69 width=13 height=20 xoffset=0 yoffset=17 xadvance=14 page=0 chnl=15
|
||||
char id=115 x=72 y=69 width=12 height=20 xoffset=1 yoffset=17 xadvance=15 page=0 chnl=15
|
||||
char id=116 x=85 y=69 width=7 height=24 xoffset=1 yoffset=13 xadvance=8 page=0 chnl=15
|
||||
char id=117 x=93 y=69 width=15 height=20 xoffset=0 yoffset=17 xadvance=15 page=0 chnl=15
|
||||
char id=118 x=109 y=69 width=14 height=20 xoffset=0 yoffset=17 xadvance=15 page=0 chnl=15
|
||||
char id=119 x=124 y=69 width=21 height=20 xoffset=0 yoffset=17 xadvance=23 page=0 chnl=15
|
||||
char id=120 x=146 y=69 width=15 height=21 xoffset=1 yoffset=16 xadvance=16 page=0 chnl=15
|
||||
char id=121 x=162 y=69 width=14 height=26 xoffset=0 yoffset=17 xadvance=16 page=0 chnl=15
|
||||
char id=122 x=177 y=69 width=13 height=21 xoffset=0 yoffset=16 xadvance=13 page=0 chnl=15
|
||||
char id=123 x=191 y=69 width=9 height=28 xoffset=-1 yoffset=10 xadvance=8 page=0 chnl=15
|
||||
char id=124 x=201 y=69 width=3 height=33 xoffset=2 yoffset=10 xadvance=6 page=0 chnl=15
|
||||
char id=125 x=205 y=69 width=8 height=29 xoffset=0 yoffset=9 xadvance=8 page=0 chnl=15
|
||||
char id=126 x=214 y=69 width=11 height=4 xoffset=1 yoffset=10 xadvance=13 page=0 chnl=15
|
||||
char id=196 x=226 y=69 width=15 height=35 xoffset=0 yoffset=3 xadvance=16 page=0 chnl=15
|
||||
char id=214 x=242 y=69 width=12 height=34 xoffset=2 yoffset=3 xadvance=16 page=0 chnl=15
|
||||
char id=220 x=255 y=69 width=15 height=34 xoffset=0 yoffset=3 xadvance=15 page=0 chnl=15
|
||||
char id=228 x=271 y=69 width=14 height=28 xoffset=1 yoffset=9 xadvance=15 page=0 chnl=15
|
||||
char id=246 x=286 y=69 width=12 height=28 xoffset=2 yoffset=9 xadvance=16 page=0 chnl=15
|
||||
char id=252 x=299 y=69 width=15 height=28 xoffset=0 yoffset=9 xadvance=15 page=0 chnl=15
|
||||
char id=223 x=315 y=69 width=13 height=34 xoffset=0 yoffset=9 xadvance=15 page=0 chnl=15
|
||||
char id=8222 x=329 y=69 width=9 height=7 xoffset=2 yoffset=30 xadvance=12 page=0 chnl=15
|
||||
char id=8220 x=339 y=69 width=9 height=8 xoffset=1 yoffset=9 xadvance=12 page=0 chnl=15
|
||||
char id=8221 x=349 y=69 width=9 height=8 xoffset=2 yoffset=9 xadvance=12 page=0 chnl=15
|
||||
char id=8218 x=359 y=69 width=3 height=7 xoffset=2 yoffset=30 xadvance=6 page=0 chnl=15
|
||||
char id=8216 x=363 y=69 width=3 height=8 xoffset=1 yoffset=9 xadvance=6 page=0 chnl=15
|
||||
char id=8217 x=367 y=69 width=3 height=8 xoffset=2 yoffset=9 xadvance=6 page=0 chnl=15
|
||||
char id=8211 x=371 y=69 width=12 height=3 xoffset=1 yoffset=25 xadvance=14 page=0 chnl=15
|
||||
char id=8212 x=384 y=69 width=19 height=3 xoffset=1 yoffset=25 xadvance=22 page=0 chnl=15
|
||||
char id=8230 x=404 y=69 width=20 height=6 xoffset=2 yoffset=31 xadvance=24 page=0 chnl=15
|
||||
char id=183 x=425 y=69 width=4 height=6 xoffset=2 yoffset=24 xadvance=8 page=0 chnl=15
|
||||
char id=176 x=430 y=69 width=8 height=9 xoffset=2 yoffset=9 xadvance=11 page=0 chnl=15
|
||||
char id=8364 x=439 y=69 width=14 height=28 xoffset=0 yoffset=9 xadvance=14 page=0 chnl=15
|
||||
char id=171 x=454 y=69 width=19 height=12 xoffset=1 yoffset=21 xadvance=22 page=0 chnl=15
|
||||
char id=187 x=474 y=69 width=19 height=12 xoffset=2 yoffset=21 xadvance=22 page=0 chnl=15
|
||||
120
art/final3x/Font/pirataone_36_2x.fnt
Normal file
|
|
@ -0,0 +1,120 @@
|
|||
info face="pirataone_36" size=72 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=0 aa=1 padding=0,0,0,0 spacing=0,0 outline=0
|
||||
common lineHeight=108 base=74 scaleW=1024 scaleH=208 pages=1 packed=0 alphaChnl=0 redChnl=4 greenChnl=4 blueChnl=4
|
||||
page id=0 file="pirataone_36_atlas_2x.png"
|
||||
chars count=116
|
||||
char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=0 xadvance=14 page=0 chnl=15
|
||||
char id=33 x=2 y=0 width=14 height=60 xoffset=0 yoffset=20 xadvance=16 page=0 chnl=15
|
||||
char id=34 x=18 y=0 width=18 height=14 xoffset=2 yoffset=18 xadvance=22 page=0 chnl=15
|
||||
char id=35 x=38 y=0 width=50 height=50 xoffset=-4 yoffset=24 xadvance=42 page=0 chnl=15
|
||||
char id=36 x=90 y=0 width=24 height=66 xoffset=4 yoffset=14 xadvance=30 page=0 chnl=15
|
||||
char id=37 x=116 y=0 width=42 height=54 xoffset=4 yoffset=22 xadvance=50 page=0 chnl=15
|
||||
char id=38 x=160 y=0 width=26 height=56 xoffset=4 yoffset=18 xadvance=30 page=0 chnl=15
|
||||
char id=39 x=188 y=0 width=6 height=14 xoffset=2 yoffset=18 xadvance=10 page=0 chnl=15
|
||||
char id=40 x=196 y=0 width=20 height=60 xoffset=2 yoffset=18 xadvance=22 page=0 chnl=15
|
||||
char id=41 x=218 y=0 width=20 height=60 xoffset=2 yoffset=18 xadvance=22 page=0 chnl=15
|
||||
char id=42 x=240 y=0 width=18 height=20 xoffset=4 yoffset=20 xadvance=24 page=0 chnl=15
|
||||
char id=43 x=260 y=0 width=26 height=26 xoffset=2 yoffset=40 xadvance=30 page=0 chnl=15
|
||||
char id=44 x=288 y=0 width=8 height=20 xoffset=4 yoffset=64 xadvance=16 page=0 chnl=15
|
||||
char id=45 x=298 y=0 width=24 height=6 xoffset=2 yoffset=50 xadvance=28 page=0 chnl=15
|
||||
char id=46 x=324 y=0 width=8 height=12 xoffset=4 yoffset=62 xadvance=16 page=0 chnl=15
|
||||
char id=47 x=334 y=0 width=24 height=54 xoffset=-4 yoffset=22 xadvance=12 page=0 chnl=15
|
||||
char id=48 x=360 y=0 width=24 height=56 xoffset=4 yoffset=18 xadvance=32 page=0 chnl=15
|
||||
char id=49 x=386 y=0 width=16 height=56 xoffset=0 yoffset=18 xadvance=18 page=0 chnl=15
|
||||
char id=50 x=404 y=0 width=28 height=56 xoffset=0 yoffset=18 xadvance=28 page=0 chnl=15
|
||||
char id=51 x=434 y=0 width=26 height=56 xoffset=0 yoffset=18 xadvance=30 page=0 chnl=15
|
||||
char id=52 x=462 y=0 width=28 height=56 xoffset=0 yoffset=18 xadvance=28 page=0 chnl=15
|
||||
char id=53 x=492 y=0 width=24 height=56 xoffset=4 yoffset=18 xadvance=32 page=0 chnl=15
|
||||
char id=54 x=518 y=0 width=24 height=56 xoffset=4 yoffset=18 xadvance=32 page=0 chnl=15
|
||||
char id=55 x=544 y=0 width=24 height=58 xoffset=2 yoffset=16 xadvance=26 page=0 chnl=15
|
||||
char id=56 x=570 y=0 width=24 height=56 xoffset=4 yoffset=18 xadvance=32 page=0 chnl=15
|
||||
char id=57 x=596 y=0 width=24 height=56 xoffset=4 yoffset=18 xadvance=32 page=0 chnl=15
|
||||
char id=58 x=622 y=0 width=8 height=32 xoffset=4 yoffset=42 xadvance=16 page=0 chnl=15
|
||||
char id=59 x=632 y=0 width=8 height=42 xoffset=4 yoffset=42 xadvance=16 page=0 chnl=15
|
||||
char id=60 x=642 y=0 width=22 height=28 xoffset=2 yoffset=40 xadvance=26 page=0 chnl=15
|
||||
char id=61 x=666 y=0 width=24 height=16 xoffset=2 yoffset=44 xadvance=28 page=0 chnl=15
|
||||
char id=62 x=692 y=0 width=22 height=28 xoffset=2 yoffset=40 xadvance=26 page=0 chnl=15
|
||||
char id=63 x=716 y=0 width=24 height=62 xoffset=2 yoffset=18 xadvance=30 page=0 chnl=15
|
||||
char id=64 x=742 y=0 width=32 height=48 xoffset=4 yoffset=30 xadvance=38 page=0 chnl=15
|
||||
char id=65 x=776 y=0 width=30 height=58 xoffset=0 yoffset=18 xadvance=32 page=0 chnl=15
|
||||
char id=66 x=808 y=0 width=28 height=56 xoffset=0 yoffset=18 xadvance=30 page=0 chnl=15
|
||||
char id=67 x=838 y=0 width=24 height=56 xoffset=4 yoffset=18 xadvance=30 page=0 chnl=15
|
||||
char id=68 x=864 y=0 width=28 height=56 xoffset=0 yoffset=18 xadvance=32 page=0 chnl=15
|
||||
char id=69 x=894 y=0 width=24 height=56 xoffset=4 yoffset=18 xadvance=30 page=0 chnl=15
|
||||
char id=70 x=920 y=0 width=28 height=58 xoffset=0 yoffset=18 xadvance=26 page=0 chnl=15
|
||||
char id=71 x=950 y=0 width=24 height=56 xoffset=4 yoffset=18 xadvance=30 page=0 chnl=15
|
||||
char id=72 x=976 y=0 width=30 height=56 xoffset=0 yoffset=20 xadvance=30 page=0 chnl=15
|
||||
char id=73 x=1008 y=0 width=16 height=56 xoffset=0 yoffset=18 xadvance=16 page=0 chnl=15
|
||||
char id=74 x=0 y=68 width=18 height=66 xoffset=-4 yoffset=20 xadvance=16 page=0 chnl=15
|
||||
char id=75 x=20 y=68 width=32 height=56 xoffset=0 yoffset=20 xadvance=30 page=0 chnl=15
|
||||
char id=76 x=54 y=68 width=26 height=56 xoffset=0 yoffset=18 xadvance=26 page=0 chnl=15
|
||||
char id=77 x=82 y=68 width=46 height=58 xoffset=0 yoffset=18 xadvance=46 page=0 chnl=15
|
||||
char id=78 x=130 y=68 width=30 height=58 xoffset=0 yoffset=18 xadvance=30 page=0 chnl=15
|
||||
char id=79 x=162 y=68 width=24 height=56 xoffset=4 yoffset=18 xadvance=32 page=0 chnl=15
|
||||
char id=80 x=188 y=68 width=28 height=58 xoffset=0 yoffset=18 xadvance=30 page=0 chnl=15
|
||||
char id=81 x=218 y=68 width=28 height=68 xoffset=4 yoffset=18 xadvance=32 page=0 chnl=15
|
||||
char id=82 x=248 y=68 width=32 height=58 xoffset=0 yoffset=18 xadvance=32 page=0 chnl=15
|
||||
char id=83 x=282 y=68 width=24 height=56 xoffset=4 yoffset=18 xadvance=30 page=0 chnl=15
|
||||
char id=84 x=308 y=68 width=34 height=58 xoffset=-4 yoffset=18 xadvance=26 page=0 chnl=15
|
||||
char id=85 x=344 y=68 width=30 height=54 xoffset=0 yoffset=20 xadvance=30 page=0 chnl=15
|
||||
char id=86 x=376 y=68 width=30 height=54 xoffset=0 yoffset=20 xadvance=32 page=0 chnl=15
|
||||
char id=87 x=408 y=68 width=42 height=56 xoffset=0 yoffset=18 xadvance=46 page=0 chnl=15
|
||||
char id=88 x=452 y=68 width=30 height=56 xoffset=2 yoffset=18 xadvance=32 page=0 chnl=15
|
||||
char id=89 x=484 y=68 width=28 height=56 xoffset=-2 yoffset=18 xadvance=28 page=0 chnl=15
|
||||
char id=90 x=514 y=68 width=26 height=58 xoffset=0 yoffset=16 xadvance=26 page=0 chnl=15
|
||||
char id=91 x=542 y=68 width=12 height=56 xoffset=4 yoffset=20 xadvance=16 page=0 chnl=15
|
||||
char id=92 x=556 y=68 width=24 height=54 xoffset=-6 yoffset=22 xadvance=12 page=0 chnl=15
|
||||
char id=93 x=582 y=68 width=12 height=56 xoffset=0 yoffset=20 xadvance=16 page=0 chnl=15
|
||||
char id=94 x=596 y=68 width=24 height=12 xoffset=2 yoffset=16 xadvance=28 page=0 chnl=15
|
||||
char id=95 x=622 y=68 width=24 height=6 xoffset=2 yoffset=74 xadvance=28 page=0 chnl=15
|
||||
char id=96 x=648 y=68 width=10 height=12 xoffset=2 yoffset=16 xadvance=14 page=0 chnl=15
|
||||
char id=97 x=660 y=68 width=28 height=40 xoffset=2 yoffset=34 xadvance=30 page=0 chnl=15
|
||||
char id=98 x=690 y=68 width=28 height=54 xoffset=0 yoffset=20 xadvance=30 page=0 chnl=15
|
||||
char id=99 x=720 y=68 width=24 height=40 xoffset=4 yoffset=34 xadvance=30 page=0 chnl=15
|
||||
char id=100 x=746 y=68 width=26 height=56 xoffset=4 yoffset=18 xadvance=30 page=0 chnl=15
|
||||
char id=101 x=774 y=68 width=24 height=40 xoffset=4 yoffset=34 xadvance=30 page=0 chnl=15
|
||||
char id=102 x=800 y=68 width=24 height=56 xoffset=0 yoffset=18 xadvance=24 page=0 chnl=15
|
||||
char id=103 x=826 y=68 width=24 height=52 xoffset=4 yoffset=34 xadvance=32 page=0 chnl=15
|
||||
char id=104 x=852 y=68 width=30 height=54 xoffset=0 yoffset=20 xadvance=30 page=0 chnl=15
|
||||
char id=105 x=884 y=68 width=14 height=56 xoffset=2 yoffset=18 xadvance=16 page=0 chnl=15
|
||||
char id=106 x=900 y=68 width=16 height=68 xoffset=-4 yoffset=18 xadvance=16 page=0 chnl=15
|
||||
char id=107 x=918 y=68 width=32 height=54 xoffset=0 yoffset=20 xadvance=30 page=0 chnl=15
|
||||
char id=108 x=952 y=68 width=16 height=54 xoffset=0 yoffset=20 xadvance=16 page=0 chnl=15
|
||||
char id=109 x=970 y=68 width=46 height=40 xoffset=0 yoffset=34 xadvance=46 page=0 chnl=15
|
||||
char id=110 x=0 y=138 width=30 height=40 xoffset=0 yoffset=34 xadvance=30 page=0 chnl=15
|
||||
char id=111 x=32 y=138 width=24 height=40 xoffset=4 yoffset=34 xadvance=32 page=0 chnl=15
|
||||
char id=112 x=58 y=138 width=28 height=52 xoffset=0 yoffset=34 xadvance=30 page=0 chnl=15
|
||||
char id=113 x=88 y=138 width=26 height=52 xoffset=4 yoffset=34 xadvance=32 page=0 chnl=15
|
||||
char id=114 x=116 y=138 width=26 height=40 xoffset=0 yoffset=34 xadvance=28 page=0 chnl=15
|
||||
char id=115 x=144 y=138 width=24 height=40 xoffset=2 yoffset=34 xadvance=30 page=0 chnl=15
|
||||
char id=116 x=170 y=138 width=14 height=48 xoffset=2 yoffset=26 xadvance=16 page=0 chnl=15
|
||||
char id=117 x=186 y=138 width=30 height=40 xoffset=0 yoffset=34 xadvance=30 page=0 chnl=15
|
||||
char id=118 x=218 y=138 width=28 height=40 xoffset=0 yoffset=34 xadvance=30 page=0 chnl=15
|
||||
char id=119 x=248 y=138 width=42 height=40 xoffset=0 yoffset=34 xadvance=46 page=0 chnl=15
|
||||
char id=120 x=292 y=138 width=30 height=42 xoffset=2 yoffset=32 xadvance=32 page=0 chnl=15
|
||||
char id=121 x=324 y=138 width=28 height=52 xoffset=0 yoffset=34 xadvance=32 page=0 chnl=15
|
||||
char id=122 x=354 y=138 width=26 height=42 xoffset=0 yoffset=32 xadvance=26 page=0 chnl=15
|
||||
char id=123 x=382 y=138 width=18 height=56 xoffset=-2 yoffset=20 xadvance=16 page=0 chnl=15
|
||||
char id=124 x=402 y=138 width=6 height=66 xoffset=4 yoffset=20 xadvance=12 page=0 chnl=15
|
||||
char id=125 x=410 y=138 width=16 height=58 xoffset=0 yoffset=18 xadvance=16 page=0 chnl=15
|
||||
char id=126 x=428 y=138 width=22 height=8 xoffset=2 yoffset=20 xadvance=26 page=0 chnl=15
|
||||
char id=196 x=452 y=138 width=30 height=70 xoffset=0 yoffset=6 xadvance=32 page=0 chnl=15
|
||||
char id=214 x=484 y=138 width=24 height=68 xoffset=4 yoffset=6 xadvance=32 page=0 chnl=15
|
||||
char id=220 x=510 y=138 width=30 height=68 xoffset=0 yoffset=6 xadvance=30 page=0 chnl=15
|
||||
char id=228 x=542 y=138 width=28 height=56 xoffset=2 yoffset=18 xadvance=30 page=0 chnl=15
|
||||
char id=246 x=572 y=138 width=24 height=56 xoffset=4 yoffset=18 xadvance=32 page=0 chnl=15
|
||||
char id=252 x=598 y=138 width=30 height=56 xoffset=0 yoffset=18 xadvance=30 page=0 chnl=15
|
||||
char id=223 x=630 y=138 width=26 height=68 xoffset=0 yoffset=18 xadvance=30 page=0 chnl=15
|
||||
char id=8222 x=658 y=138 width=18 height=14 xoffset=4 yoffset=60 xadvance=24 page=0 chnl=15
|
||||
char id=8220 x=678 y=138 width=18 height=16 xoffset=2 yoffset=18 xadvance=24 page=0 chnl=15
|
||||
char id=8221 x=698 y=138 width=18 height=16 xoffset=4 yoffset=18 xadvance=24 page=0 chnl=15
|
||||
char id=8218 x=718 y=138 width=6 height=14 xoffset=4 yoffset=60 xadvance=12 page=0 chnl=15
|
||||
char id=8216 x=726 y=138 width=6 height=16 xoffset=2 yoffset=18 xadvance=12 page=0 chnl=15
|
||||
char id=8217 x=734 y=138 width=6 height=16 xoffset=4 yoffset=18 xadvance=12 page=0 chnl=15
|
||||
char id=8211 x=742 y=138 width=24 height=6 xoffset=2 yoffset=50 xadvance=28 page=0 chnl=15
|
||||
char id=8212 x=768 y=138 width=38 height=6 xoffset=2 yoffset=50 xadvance=44 page=0 chnl=15
|
||||
char id=8230 x=808 y=138 width=40 height=12 xoffset=4 yoffset=62 xadvance=48 page=0 chnl=15
|
||||
char id=183 x=850 y=138 width=8 height=12 xoffset=4 yoffset=48 xadvance=16 page=0 chnl=15
|
||||
char id=176 x=860 y=138 width=16 height=18 xoffset=4 yoffset=18 xadvance=22 page=0 chnl=15
|
||||
char id=8364 x=878 y=138 width=28 height=56 xoffset=0 yoffset=18 xadvance=28 page=0 chnl=15
|
||||
char id=171 x=908 y=138 width=38 height=24 xoffset=2 yoffset=42 xadvance=44 page=0 chnl=15
|
||||
char id=187 x=948 y=138 width=38 height=24 xoffset=4 yoffset=42 xadvance=44 page=0 chnl=15
|
||||
BIN
art/final3x/Font/pirataone_36_atlas.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
art/final3x/Font/pirataone_36_atlas_2x.png
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
120
art/final3x/Font/pressstart2p_24.fnt
Normal file
|
|
@ -0,0 +1,120 @@
|
|||
info face="pressstart2p_24" size=24 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=0 aa=1 padding=0,0,0,0 spacing=0,0 outline=0
|
||||
common lineHeight=36 base=24 scaleW=512 scaleH=112 pages=1 packed=0 alphaChnl=0 redChnl=4 greenChnl=4 blueChnl=4
|
||||
page id=0 file="pressstart2p_24_atlas.png"
|
||||
chars count=116
|
||||
char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=33 x=1 y=0 width=9 height=21 xoffset=6 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=34 x=11 y=0 width=15 height=9 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=35 x=27 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=36 x=49 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=37 x=71 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=38 x=93 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=39 x=115 y=0 width=6 height=9 xoffset=6 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=40 x=122 y=0 width=12 height=21 xoffset=6 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=41 x=135 y=0 width=12 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=42 x=148 y=0 width=21 height=15 xoffset=0 yoffset=3 xadvance=24 page=0 chnl=15
|
||||
char id=43 x=170 y=0 width=18 height=15 xoffset=3 yoffset=3 xadvance=24 page=0 chnl=15
|
||||
char id=44 x=189 y=0 width=9 height=9 xoffset=3 yoffset=15 xadvance=24 page=0 chnl=15
|
||||
char id=45 x=199 y=0 width=18 height=3 xoffset=3 yoffset=9 xadvance=24 page=0 chnl=15
|
||||
char id=46 x=218 y=0 width=6 height=6 xoffset=6 yoffset=15 xadvance=24 page=0 chnl=15
|
||||
char id=47 x=225 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=48 x=247 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=49 x=269 y=0 width=18 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=50 x=288 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=51 x=310 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=52 x=332 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=53 x=354 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=54 x=376 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=55 x=398 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=56 x=420 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=57 x=442 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=58 x=464 y=0 width=6 height=15 xoffset=6 yoffset=3 xadvance=24 page=0 chnl=15
|
||||
char id=59 x=471 y=0 width=9 height=18 xoffset=3 yoffset=3 xadvance=24 page=0 chnl=15
|
||||
char id=60 x=481 y=0 width=15 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=61 x=0 y=22 width=21 height=9 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
|
||||
char id=62 x=22 y=22 width=15 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=63 x=38 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=64 x=60 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=65 x=82 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=66 x=104 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=67 x=126 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=68 x=148 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=69 x=170 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=70 x=192 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=71 x=214 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=72 x=236 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=73 x=258 y=22 width=18 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=74 x=277 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=75 x=299 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=76 x=321 y=22 width=18 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=77 x=340 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=78 x=362 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=79 x=384 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=80 x=406 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=81 x=428 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=82 x=450 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=83 x=472 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=84 x=494 y=22 width=18 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=85 x=0 y=44 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=86 x=22 y=44 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=87 x=44 y=44 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=88 x=66 y=44 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=89 x=88 y=44 width=18 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=90 x=107 y=44 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=91 x=129 y=44 width=12 height=21 xoffset=6 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=92 x=142 y=44 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=93 x=164 y=44 width=12 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=94 x=177 y=44 width=15 height=6 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=95 x=193 y=44 width=21 height=3 xoffset=0 yoffset=21 xadvance=24 page=0 chnl=15
|
||||
char id=96 x=215 y=44 width=6 height=6 xoffset=9 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=97 x=222 y=44 width=21 height=15 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
|
||||
char id=98 x=244 y=44 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=99 x=266 y=44 width=21 height=15 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
|
||||
char id=100 x=288 y=44 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=101 x=310 y=44 width=21 height=15 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
|
||||
char id=102 x=332 y=44 width=18 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=103 x=351 y=44 width=21 height=18 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
|
||||
char id=104 x=373 y=44 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=105 x=395 y=44 width=18 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=106 x=414 y=44 width=15 height=24 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=107 x=430 y=44 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=108 x=452 y=44 width=18 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=109 x=471 y=44 width=21 height=15 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
|
||||
char id=110 x=0 y=69 width=21 height=15 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
|
||||
char id=111 x=22 y=69 width=21 height=15 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
|
||||
char id=112 x=44 y=69 width=21 height=18 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
|
||||
char id=113 x=66 y=69 width=21 height=18 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
|
||||
char id=114 x=88 y=69 width=18 height=15 xoffset=3 yoffset=6 xadvance=24 page=0 chnl=15
|
||||
char id=115 x=107 y=69 width=21 height=15 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
|
||||
char id=116 x=129 y=69 width=18 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=117 x=148 y=69 width=21 height=15 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
|
||||
char id=118 x=170 y=69 width=18 height=15 xoffset=3 yoffset=6 xadvance=24 page=0 chnl=15
|
||||
char id=119 x=189 y=69 width=21 height=15 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
|
||||
char id=120 x=211 y=69 width=21 height=15 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
|
||||
char id=121 x=233 y=69 width=21 height=18 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
|
||||
char id=122 x=255 y=69 width=21 height=15 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
|
||||
char id=123 x=277 y=69 width=12 height=21 xoffset=6 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=124 x=290 y=69 width=6 height=21 xoffset=9 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=125 x=297 y=69 width=12 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=126 x=310 y=69 width=21 height=9 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
|
||||
char id=196 x=332 y=69 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=214 x=354 y=69 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=220 x=376 y=69 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=228 x=398 y=69 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=246 x=420 y=69 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=252 x=442 y=69 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=223 x=464 y=69 width=18 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=8222 x=483 y=69 width=18 height=9 xoffset=0 yoffset=12 xadvance=24 page=0 chnl=15
|
||||
char id=8220 x=0 y=91 width=18 height=9 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=8221 x=19 y=91 width=18 height=9 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=8218 x=38 y=91 width=9 height=9 xoffset=6 yoffset=12 xadvance=24 page=0 chnl=15
|
||||
char id=8216 x=48 y=91 width=9 height=9 xoffset=6 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=8217 x=58 y=91 width=9 height=9 xoffset=6 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=8211 x=68 y=91 width=21 height=3 xoffset=0 yoffset=9 xadvance=24 page=0 chnl=15
|
||||
char id=8212 x=90 y=91 width=24 height=3 xoffset=0 yoffset=9 xadvance=24 page=0 chnl=15
|
||||
char id=8230 x=115 y=91 width=21 height=6 xoffset=0 yoffset=15 xadvance=24 page=0 chnl=15
|
||||
char id=183 x=137 y=91 width=6 height=6 xoffset=6 yoffset=9 xadvance=24 page=0 chnl=15
|
||||
char id=176 x=144 y=91 width=9 height=9 xoffset=6 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=8364 x=154 y=91 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
|
||||
char id=171 x=176 y=91 width=21 height=15 xoffset=0 yoffset=3 xadvance=24 page=0 chnl=15
|
||||
char id=187 x=198 y=91 width=21 height=15 xoffset=0 yoffset=3 xadvance=24 page=0 chnl=15
|
||||
120
art/final3x/Font/pressstart2p_24_2x.fnt
Normal file
|
|
@ -0,0 +1,120 @@
|
|||
info face="pressstart2p_24" size=48 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=0 aa=1 padding=0,0,0,0 spacing=0,0 outline=0
|
||||
common lineHeight=72 base=48 scaleW=1024 scaleH=224 pages=1 packed=0 alphaChnl=0 redChnl=4 greenChnl=4 blueChnl=4
|
||||
page id=0 file="pressstart2p_24_atlas_2x.png"
|
||||
chars count=116
|
||||
char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=33 x=2 y=0 width=18 height=42 xoffset=12 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=34 x=22 y=0 width=30 height=18 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=35 x=54 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=36 x=98 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=37 x=142 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=38 x=186 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=39 x=230 y=0 width=12 height=18 xoffset=12 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=40 x=244 y=0 width=24 height=42 xoffset=12 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=41 x=270 y=0 width=24 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=42 x=296 y=0 width=42 height=30 xoffset=0 yoffset=6 xadvance=48 page=0 chnl=15
|
||||
char id=43 x=340 y=0 width=36 height=30 xoffset=6 yoffset=6 xadvance=48 page=0 chnl=15
|
||||
char id=44 x=378 y=0 width=18 height=18 xoffset=6 yoffset=30 xadvance=48 page=0 chnl=15
|
||||
char id=45 x=398 y=0 width=36 height=6 xoffset=6 yoffset=18 xadvance=48 page=0 chnl=15
|
||||
char id=46 x=436 y=0 width=12 height=12 xoffset=12 yoffset=30 xadvance=48 page=0 chnl=15
|
||||
char id=47 x=450 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=48 x=494 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=49 x=538 y=0 width=36 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=50 x=576 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=51 x=620 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=52 x=664 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=53 x=708 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=54 x=752 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=55 x=796 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=56 x=840 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=57 x=884 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=58 x=928 y=0 width=12 height=30 xoffset=12 yoffset=6 xadvance=48 page=0 chnl=15
|
||||
char id=59 x=942 y=0 width=18 height=36 xoffset=6 yoffset=6 xadvance=48 page=0 chnl=15
|
||||
char id=60 x=962 y=0 width=30 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=61 x=0 y=44 width=42 height=18 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
|
||||
char id=62 x=44 y=44 width=30 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=63 x=76 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=64 x=120 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=65 x=164 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=66 x=208 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=67 x=252 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=68 x=296 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=69 x=340 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=70 x=384 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=71 x=428 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=72 x=472 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=73 x=516 y=44 width=36 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=74 x=554 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=75 x=598 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=76 x=642 y=44 width=36 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=77 x=680 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=78 x=724 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=79 x=768 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=80 x=812 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=81 x=856 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=82 x=900 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=83 x=944 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=84 x=988 y=44 width=36 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=85 x=0 y=88 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=86 x=44 y=88 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=87 x=88 y=88 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=88 x=132 y=88 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=89 x=176 y=88 width=36 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=90 x=214 y=88 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=91 x=258 y=88 width=24 height=42 xoffset=12 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=92 x=284 y=88 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=93 x=328 y=88 width=24 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=94 x=354 y=88 width=30 height=12 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=95 x=386 y=88 width=42 height=6 xoffset=0 yoffset=42 xadvance=48 page=0 chnl=15
|
||||
char id=96 x=430 y=88 width=12 height=12 xoffset=18 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=97 x=444 y=88 width=42 height=30 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
|
||||
char id=98 x=488 y=88 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=99 x=532 y=88 width=42 height=30 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
|
||||
char id=100 x=576 y=88 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=101 x=620 y=88 width=42 height=30 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
|
||||
char id=102 x=664 y=88 width=36 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=103 x=702 y=88 width=42 height=36 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
|
||||
char id=104 x=746 y=88 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=105 x=790 y=88 width=36 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=106 x=828 y=88 width=30 height=48 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=107 x=860 y=88 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=108 x=904 y=88 width=36 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=109 x=942 y=88 width=42 height=30 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
|
||||
char id=110 x=0 y=138 width=42 height=30 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
|
||||
char id=111 x=44 y=138 width=42 height=30 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
|
||||
char id=112 x=88 y=138 width=42 height=36 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
|
||||
char id=113 x=132 y=138 width=42 height=36 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
|
||||
char id=114 x=176 y=138 width=36 height=30 xoffset=6 yoffset=12 xadvance=48 page=0 chnl=15
|
||||
char id=115 x=214 y=138 width=42 height=30 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
|
||||
char id=116 x=258 y=138 width=36 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=117 x=296 y=138 width=42 height=30 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
|
||||
char id=118 x=340 y=138 width=36 height=30 xoffset=6 yoffset=12 xadvance=48 page=0 chnl=15
|
||||
char id=119 x=378 y=138 width=42 height=30 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
|
||||
char id=120 x=422 y=138 width=42 height=30 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
|
||||
char id=121 x=466 y=138 width=42 height=36 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
|
||||
char id=122 x=510 y=138 width=42 height=30 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
|
||||
char id=123 x=554 y=138 width=24 height=42 xoffset=12 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=124 x=580 y=138 width=12 height=42 xoffset=18 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=125 x=594 y=138 width=24 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=126 x=620 y=138 width=42 height=18 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
|
||||
char id=196 x=664 y=138 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=214 x=708 y=138 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=220 x=752 y=138 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=228 x=796 y=138 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=246 x=840 y=138 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=252 x=884 y=138 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=223 x=928 y=138 width=36 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=8222 x=966 y=138 width=36 height=18 xoffset=0 yoffset=24 xadvance=48 page=0 chnl=15
|
||||
char id=8220 x=0 y=182 width=36 height=18 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=8221 x=38 y=182 width=36 height=18 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=8218 x=76 y=182 width=18 height=18 xoffset=12 yoffset=24 xadvance=48 page=0 chnl=15
|
||||
char id=8216 x=96 y=182 width=18 height=18 xoffset=12 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=8217 x=116 y=182 width=18 height=18 xoffset=12 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=8211 x=136 y=182 width=42 height=6 xoffset=0 yoffset=18 xadvance=48 page=0 chnl=15
|
||||
char id=8212 x=180 y=182 width=48 height=6 xoffset=0 yoffset=18 xadvance=48 page=0 chnl=15
|
||||
char id=8230 x=230 y=182 width=42 height=12 xoffset=0 yoffset=30 xadvance=48 page=0 chnl=15
|
||||
char id=183 x=274 y=182 width=12 height=12 xoffset=12 yoffset=18 xadvance=48 page=0 chnl=15
|
||||
char id=176 x=288 y=182 width=18 height=18 xoffset=12 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=8364 x=308 y=182 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
|
||||
char id=171 x=352 y=182 width=42 height=30 xoffset=0 yoffset=6 xadvance=48 page=0 chnl=15
|
||||
char id=187 x=396 y=182 width=42 height=30 xoffset=0 yoffset=6 xadvance=48 page=0 chnl=15
|
||||
BIN
art/final3x/Font/pressstart2p_24_atlas.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
art/final3x/Font/pressstart2p_24_atlas_2x.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
93
art/final3x/Font/ttf/OFL-pirataone.txt
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
Copyright (c) 2012, Rodrigo Fuenzalida, Nicolas Massi (www.taip.com.ar / abc.taip.com.ar), with Reserved Font Name 'Pirata'
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
93
art/final3x/Font/ttf/OFL-pressstart2p.txt
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
Copyright 2012 The Press Start 2P Project Authors (cody@zone38.net), with Reserved Font Name "Press Start 2P".
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
BIN
art/final3x/Font/ttf/PirataOne-Regular.ttf
Normal file
BIN
art/final3x/Font/ttf/PressStart2P-Regular.ttf
Normal file
36
art/final3x/Font/ttf/README.md
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# Lizenz — hier liegt nichts ohne `OFL.txt`
|
||||
|
||||
Beide Schriften stehen unter der **SIL Open Font License 1.1**. Kommerzielle
|
||||
Nutzung ist erlaubt; die Lizenz verlangt aber, dass Copyright-Zeile und
|
||||
Lizenztext **mit der Schrift ausgeliefert** werden. Wer das Spiel verkauft,
|
||||
muss also `OFL-pressstart2p.txt` und `OFL-pirataone.txt` in die Auslieferung
|
||||
packen — nicht nur ins Repo.
|
||||
|
||||
| Datei | Schrift | Lizenz | Copyright-Zeile |
|
||||
|---|---|---|---|
|
||||
| `PressStart2P-Regular.ttf` | Press Start 2P | [`OFL-pressstart2p.txt`](OFL-pressstart2p.txt) | The Press Start 2P Project Authors, **Reserved Font Name „Press Start 2P"** |
|
||||
| `PirataOne-Regular.ttf` | Pirata One | [`OFL-pirataone.txt`](OFL-pirataone.txt) | Rodrigo Fuenzalida, Nicolas Massi, **Reserved Font Name „Pirata"** |
|
||||
|
||||
## Was die Lizenz verlangt
|
||||
|
||||
1. **Lizenztext mitliefern.** Copyright-Zeile und `OFL.txt` gehören in das
|
||||
Paket, das beim Spieler landet (z. B. `licenses/` im Spielordner oder eine
|
||||
`THIRD_PARTY_NOTICES.txt`, die auf die Dateien verweist).
|
||||
2. **Die Schrift nicht einzeln verkaufen.** Das Spiel darf Geld kosten, die
|
||||
Schriften selbst nicht.
|
||||
3. **Reserved Font Name beachten.** Unverändert benutzt ist alles in Ordnung.
|
||||
Wer Glyphen ändert (Zeichen ergänzen, Formen anpassen), muss die Fassung
|
||||
**umbenennen** — „Press Start 2P" und „Pirata" dürfen dann nicht mehr im
|
||||
Namen stehen, auch nicht als Teil davon.
|
||||
|
||||
## Gilt auch nach dem Rastern
|
||||
|
||||
Ein BMFont-Atlas oder eine in Pixel gerasterte Fassung ist eine **Ableitung**
|
||||
der Schrift — die OFL gilt dafür weiter. Wer den BMFont-Export benutzt, liefert
|
||||
also ebenfalls `OFL-*.txt` mit aus.
|
||||
|
||||
## Warum dazu keine Zeile im Lizenzlog steht
|
||||
|
||||
`license-log.csv` protokolliert **Generierungen** (Prompt, Modell, Seed,
|
||||
Preis). Hier wurde nichts generiert, sondern fremde Schrift eingebunden —
|
||||
der Nachweis ist die Lizenzdatei selbst, nicht eine Log-Zeile.
|
||||
BIN
art/final3x/NPCs/nsc_bettler_96px.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
BIN
art/final3x/NPCs/nsc_dorfbewohner_96px.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
BIN
art/final3x/NPCs/nsc_dorfbewohnerin_96px.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
art/final3x/NPCs/nsc_druide_96px.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
art/final3x/NPCs/nsc_haendler_96px.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
art/final3x/NPCs/nsc_wache_96px.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
art/final3x/Objects/objekt_bett_96px.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
art/final3x/Objects/objekt_brunnen_96px.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
art/final3x/Objects/objekt_fackel_96px.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
art/final3x/Objects/objekt_fass_96px.png
Normal file
|
After Width: | Height: | Size: 5 KiB |
BIN
art/final3x/Objects/objekt_geroell_96px.png
Normal file
|
After Width: | Height: | Size: 7.1 KiB |
BIN
art/final3x/Objects/objekt_grabstein_96px.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
art/final3x/Objects/objekt_kiste_96px.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
art/final3x/Objects/objekt_regal_96px.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
art/final3x/Objects/objekt_tisch_96px.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
art/final3x/Objects/objekt_tor_96px.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
art/final3x/Objects/objekt_treppe_96px.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
art/final3x/Objects/objekt_truhe_96px.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
art/final3x/Objects/objekt_tuer_96px.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
art/final3x/Objects/objekt_wagen_96px.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
16
art/final3x/Pictures/README.md
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# Pictures — 1920×1080 (fehlt)
|
||||
|
||||
Stand: 15.11.2026 · **noch nicht neu gerechnet.**
|
||||
|
||||
Vollbilder im Stil **B** (gemalt, 64 Farben): Titel, Kapitel, Illustrationen.
|
||||
Zielgröße **1920×1080** (1×); 4K ist nearest-Verdopplung.
|
||||
|
||||
Zu ersetzen sind die fünf 640er-Bilder aus
|
||||
[`../../final/Pictures/`](../../final/Pictures/) — allen voran
|
||||
`titel_westreich_1280x720.png` (Phase 1 braucht den Titelschirm in
|
||||
`1920x1080`). Die alten Dateien sind 2× der 640er-Basis und damit **0,67×**
|
||||
des neuen Maßstabs; sie sind kein Platzhalter, sondern müssen neu gezogen
|
||||
werden.
|
||||
|
||||
Der Spielbildschirm ist immer die Karte; `Pictures/` liefert nur Titel-,
|
||||
Kapitel- und Zwischenbilder ([`../../../docs/projekt.md`](../../../docs/projekt.md) §6).
|
||||
BIN
art/final3x/Players/portrait_elfin_96px.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
art/final3x/Players/portrait_gelehrter_96px.png
Normal file
|
After Width: | Height: | Size: 4 KiB |
BIN
art/final3x/Players/portrait_halbling_96px.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
art/final3x/Players/portrait_krieger_96px.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
art/final3x/Players/portrait_magierin_96px.png
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
art/final3x/Players/portrait_zwerg_96px.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
132
art/final3x/README.md
Normal file
|
|
@ -0,0 +1,132 @@
|
|||
# final3x — der Master-Satz für die 1920×1080-Basis
|
||||
|
||||
Stand: 15.11.2026 · verbindlich seit dem Basiswechsel
|
||||
([`../../docs/umstieg-1920.md`](../../docs/umstieg-1920.md)).
|
||||
|
||||
**1× heißt hier 1920×1080.** Ein Kunstpixel ist bei 1080p ein Gerätepixel, bei
|
||||
4K zwei. Die Dateinamen tragen die Kunstgröße (`_96px`, `_288px`) — dieselbe
|
||||
Regel wie bisher, nur mit dem neuen Maßstab.
|
||||
|
||||
`art/final/` bleibt **unangetastet** als 640er-Altbestand: Referenz für die
|
||||
alten Mocks, Vergleichsbilder und die 8×10-Schrift. Es ist kein Engine-Input
|
||||
mehr. `art/final3x/` ist der neue Master; die Engine liest ihn über
|
||||
[`../tools/engine_assets.py`](../tools/engine_assets.py) 1:1 nach
|
||||
`game/assets/`.
|
||||
|
||||
## Größen
|
||||
|
||||
| Kategorie | 640er-Basis | **1920er-Basis (1×)** | Dateiendung |
|
||||
|---|---|---|---|
|
||||
| `Terrain/` | 32×32 | **96×96** | `_96px` |
|
||||
| `Creatures/` | 96×96-Canvas | **288×288-Canvas** (Zeichnung 168–288) | `_288px` |
|
||||
| `Players/` Figur | 64×80 | **192×240** | `_192px` |
|
||||
| `Players/` Porträt | 32×32 | **96×96** | `_96px` |
|
||||
| `NPCs/` | 32×40 | **96×120** | `_96px` |
|
||||
| `Objects/` | 32×32 | **96×96** | `_96px` |
|
||||
| `UI/` | 1× (390er-Dialog) | **3×** (1170er-Dialog) | Basisgröße im Namen |
|
||||
| `Pictures/` | 640×360 | **1920×1080** | `_1920x1080` |
|
||||
| `Font/` | 8×10, Vorschub 8 | **Press Start 2P 24**, Vorschub 24, Zeile 36 | `_24`, `_36` |
|
||||
|
||||
Kampf: Kreaturen stehen auf **144 px** (halbe 288er-Canvas), wie bisher 48 px
|
||||
auf der halben 96er-Canvas.
|
||||
|
||||
## Stand
|
||||
|
||||
| Kategorie | Dateien | Herkunft / Urteil |
|
||||
|---|---|---|
|
||||
| `Font/` | Press Start 2P 24, Pirata One 36, je 1× und 2×, BMFont + TTF + OFL | entschieden 15.11.2026, Export geprüft |
|
||||
| `Terrain/` | 4 Erdvarianten, Gras, Schlachtfeld-Erde/Stein, Wand, **Fachwerkdach** | **Stadt/Boden aus den alten 1024er-Raws bei 96 neu gerechnet** (15.11.2026); Herkunft und Befehle unten |
|
||||
| `NPCs/` | 6 Bewohner, 96×120 | aus dem 3×-Mock übernommen, Motiv-Rezept |
|
||||
| `Objects/` | 14 Requisiten, 96×96 | aus dem 3×-Mock übernommen (Runde 3) |
|
||||
| `Players/` | 6 Porträts, 96×96 | aus dem 3×-Mock übernommen (Runde 3); **Figur fehlt** |
|
||||
| `Creatures/` | — | **fehlt** (8 Gegner, 288er-Canvas) |
|
||||
| `Pictures/` | — | **fehlt** (5 Vollbilder, 1920×1080) |
|
||||
| `UI/` | 12 Elemente + Palette-Anker | **gebaut 15.11.2026** von `tools/ui3.py` (3×, Press Start 2P) |
|
||||
| Palette | `Terrain/_palette_world.png` (31 Werte) + `_rampen/{erde,stein,dach}.png` | Stadt/Boden liegt **≤ 5 ΔE** zur Weltpalette (Gras 3,8 — bewusst wärmer/oliver); neue Materialien messen neu |
|
||||
|
||||
## Herkunft Stadt und Boden (korrigiert 15.11.2026)
|
||||
|
||||
Die ersten 96er-Kacheln kamen aus **neuen Prompts** (`prompts96/`). Das war
|
||||
falsch: „fünf dunkle Erdschollen", „waagerechte Planken", „fünf große
|
||||
Steinblöcke" und die Weltpalette haben das 640er Motiv ersetzt — große braune
|
||||
Flecken statt feiner Tufts, Planken statt Fachwerk, eine olivgraue Wand und
|
||||
eine grüne Tür. Die **alten 1024er-Raws** dagegen tragen bei 96 px: das Motiv
|
||||
ist dasselbe, nur mit dreimal so vielen Zeichenpixeln. Neu gerechnet mit
|
||||
denselben Rezepten wie die 640er-Dateien (ohne `--palette`, die Raws liegen
|
||||
bereits innerhalb der Toleranz):
|
||||
|
||||
```bash
|
||||
# aus dem Repo-Root; W = ~/Dokumente/workbench_taloria/assets/raw
|
||||
W=~/Dokumente/workbench_taloria/assets/raw
|
||||
python3 art/tools/pixelize.py "$W/Terrain/battle_erde_s4001.png" \
|
||||
-o art/final3x/Terrain/boden_erde_1_96px.png --size 96x96 --colors 6 \
|
||||
--inset 10 --pre-blur 0.5 --flatten 6 --seal-edge
|
||||
# Varianten 2-4: dieselbe Datei gespiegelt/gedreht (nahtlos bleibt nahtlos)
|
||||
python3 art/tools/pixelize.py "$W/Terrain/battle_gras_s4001.png" \
|
||||
-o art/final3x/Terrain/battle_gras_96px.png --size 96x96 --colors 4 \
|
||||
--inset 4 --pre-blur 0.5 --flatten 4 --seal-edge
|
||||
python3 art/tools/pixelize.py "$W/Terrain/tile_dungeon_wand_v2_s7022.png" \
|
||||
-o art/final3x/Terrain/wand_stein_96px.png --size 96x96 --colors 12 \
|
||||
--pre-blur 0.5 --seal-edge
|
||||
python3 art/tools/pixelize.py "$W/Terrain/tile_stadt_wand_v2_s7021.png" \
|
||||
-o art/final3x/Terrain/dach_fachwerk_96px.png --size 96x96 --colors 12 \
|
||||
--pre-blur 0.5 --gamma 1.35 --seal-edge
|
||||
python3 art/tools/pixelize.py "$W/Objects/objekt_tuer_s7005.png" \
|
||||
-o art/final3x/Objects/objekt_tuer_96px.png --size 96x96 --colors 16 \
|
||||
--levels 1.0 --gamma 1.15 --cutout 12 --cutout-global --shrink 1 \
|
||||
--palette-figure --outline auto --outline-width 2 --recenter
|
||||
```
|
||||
|
||||
`battle_erde_96px.png` ist dieselbe Erddatei; `battle_stein_96px.png` bleibt
|
||||
aus dem alten Schlachtfeld-Prompt.
|
||||
|
||||
**Palette-Abstand zur Weltpalette** (OKLab ×100, nächster W3-Wert):
|
||||
|
||||
| Datei | Ø | max | ≤ 2,5 | ≤ 5 |
|
||||
|---|---|---|---|---|
|
||||
| `boden_erde_*` | 0,18 | 3,06 | 94,2 % | 100 % |
|
||||
| `battle_gras` | 3,82 | 3,82 | 0 % | 100 % |
|
||||
| `wand_stein` | 2,52 | 4,48 | 65,5 % | 100 % |
|
||||
| `dach_fachwerk` | 3,09 | 4,02 | 28,4 % | 100 % |
|
||||
| `objekt_tuer` | 1,64 | 8,37 | 67,5 % | 91,8 % |
|
||||
|
||||
Das Gras liegt sichtbar wärmer/oliver als der nächste W3-Grün (3,8), aber
|
||||
innerhalb derselben Toleranz wie der 640er-Satz (3,46). **W3 bleibt Ziel für
|
||||
neue Figuren, UI und Materialien**; der Stadt-Satz bleibt als Altbestand-
|
||||
Fortsetzung, bis eine W4 beide zusammenführt.
|
||||
|
||||
## Übrige Kategorien
|
||||
|
||||
Diese Dateien sind aus `prep/map-mock-3x/assets96/` übernommen (reine
|
||||
Umbenennung):
|
||||
|
||||
| Mock-Name | hier |
|
||||
|---|---|
|
||||
| `battle_stein_96px.png` | unverändert (alter Schlachtfeld-Prompt) |
|
||||
| `nsc_*_96px.png` | unverändert |
|
||||
| `obj_*_96px.png` | `Objects/objekt_*_96px.png` |
|
||||
| `portrait_*_96px.png` | `Players/portrait_*_96px.png` |
|
||||
|
||||
## Regeln
|
||||
|
||||
- **1× = 1920×1080.** Kein Herunterskalieren aus einer größeren Fassung; die
|
||||
Engine bekommt genau diese Pixel.
|
||||
- **`_2x`-Dateien** sind Reserve für 4K und werden nicht in die Engine kopiert
|
||||
(`engine_assets.py` überspringt sie). Bei Bildern entsteht 2× durch
|
||||
nearest-Verdopplung, nicht durch einen zweiten Lauf.
|
||||
- **Dateien mit Unterstrich** (Paletten, Rampen, Belegbilder) sind
|
||||
Pipeline-Input und gehen nicht ins Projekt.
|
||||
- **Kein Altbestand mischen.** Die 32-px-Dateien aus `art/final/` werden hier
|
||||
nicht hochgezogen; fehlende Kategorien bleiben leer, bis sie neu gezogen
|
||||
sind. Ausnahme ist die dokumentierte Neu-Rechnung aus den **1024er-Raws**
|
||||
(Stadt/Boden) — das ist keine Skalierung, sondern ein neuer Lauf bei 96 px.
|
||||
|
||||
## Offen
|
||||
|
||||
- Kreaturen, Spielerfigur, Vollbilder.
|
||||
- Interaktionszustände für Listen (Scrollbalken, Hover, Tooltip).
|
||||
- Overland-Kacheln und weitere Materialvarianten (Wand/Dach/Erde) über den
|
||||
Mock hinaus.
|
||||
- Referenzblatt in 3× (`art/final3x/_referenz.png`).
|
||||
- Wahre ausgefranste Kanten (Gras über Erde) brauchen **Kanten-Dekals oder
|
||||
Autotiling** im Renderer; die Kachel selbst endet an der Tile-Grenze.
|
||||
BIN
art/final3x/Terrain/_palette_world.png
Normal file
|
After Width: | Height: | Size: 280 B |
BIN
art/final3x/Terrain/_rampen/dach.png
Normal file
|
After Width: | Height: | Size: 78 B |
BIN
art/final3x/Terrain/_rampen/erde.png
Normal file
|
After Width: | Height: | Size: 78 B |
BIN
art/final3x/Terrain/_rampen/stein.png
Normal file
|
After Width: | Height: | Size: 78 B |
BIN
art/final3x/Terrain/battle_erde_96px.png
Normal file
|
After Width: | Height: | Size: 628 B |
BIN
art/final3x/Terrain/battle_gras_96px.png
Normal file
|
After Width: | Height: | Size: 199 B |
BIN
art/final3x/Terrain/battle_stein_96px.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
art/final3x/Terrain/boden_erde_1_96px.png
Normal file
|
After Width: | Height: | Size: 731 B |
BIN
art/final3x/Terrain/boden_erde_2_96px.png
Normal file
|
After Width: | Height: | Size: 721 B |
BIN
art/final3x/Terrain/boden_erde_3_96px.png
Normal file
|
After Width: | Height: | Size: 720 B |
BIN
art/final3x/Terrain/boden_erde_4_96px.png
Normal file
|
After Width: | Height: | Size: 726 B |
BIN
art/final3x/Terrain/dach_fachwerk_96px.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
art/final3x/Terrain/wand_stein_96px.png
Normal file
|
After Width: | Height: | Size: 4 KiB |
34
art/final3x/UI/README.md
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# UI — Satz bei 3×
|
||||
|
||||
Stand: 15.11.2026 · **gebaut.** Erzeugt von
|
||||
[`../../tools/ui3.py`](../../tools/ui3.py), Maße und Zustände:
|
||||
[`../../../docs/ui.md`](../../../docs/ui.md). Beleg:
|
||||
[`../../prep/ui3/_elemente.png`](../../prep/ui3/_elemente.png) (alle Elemente)
|
||||
und [`../../prep/ui3/_bildschirm_1920x1080.png`](../../prep/ui3/_bildschirm_1920x1080.png)
|
||||
(Stadtbildschirm mit Dialog und Partyspalte).
|
||||
|
||||
| Datei | Maß bei 1× |
|
||||
|---|---|
|
||||
| `ui_dialog_1170x213.png` | 1170×213 (3 Zeilen) |
|
||||
| `ui_dialog_gross_1170x321.png` | 1170×321 (6 Zeilen) |
|
||||
| `ui_menu_144x54.png` | 144×54 |
|
||||
| `ui_buttons_192x54.png` | 192×300 (4 Zustände) |
|
||||
| `ui_slots_78px.png` | 528×96 (6 Slots) |
|
||||
| `ui_window_pack_510x396.png` | 510×396 |
|
||||
| `ui_window_zauber_510x420.png` | 510×420 |
|
||||
| `ui_party_120px.png` | 120×816 (6 Rahmen) |
|
||||
| `ui_misc_660x390.png` | 660×390 |
|
||||
| `ui_kampf_leiste_1200x168.png` | 1200×168 |
|
||||
| `ui_ladebalken_720x78.png` | 720×78 |
|
||||
| `ui_panel_9slice_36px.png` | 36×36, Rand **6 px** |
|
||||
| `_palette_ui.png` | 96×96, 16 Felder (Palette-Anker, nicht für die Engine) |
|
||||
|
||||
Regeln: Linien und Bevel **3 px** (nicht 1 px hochgezogen), Text **Press Start
|
||||
2P 24**, Titel **Pirata One 36**, 9-Slice-Rand 6. Gezeichnet wird bei 3×;
|
||||
2×-Dateien sind nearest-Verdopplung für 4K und werden hier nicht abgelegt.
|
||||
Der 9-Slice-Stretch ist von [`../../tools/ui_slice.py`](../../tools/ui_slice.py)
|
||||
für 12×12 bis 1200×168 geprüft (alle Größen pixelgleich zu `panel()`).
|
||||
|
||||
Der 640er-Satz liegt weiter in [`../../final/UI/`](../../final/UI/) und ist
|
||||
kein Engine-Input mehr. Offen sind die Interaktionszustände für Listen
|
||||
(Scrollbalken, Hover, Tooltip) — siehe `docs/ui.md` §7.
|
||||
BIN
art/final3x/UI/_palette_ui.png
Normal file
|
After Width: | Height: | Size: 385 B |
BIN
art/final3x/UI/ui_buttons_192x54.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
art/final3x/UI/ui_dialog_1170x213.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
art/final3x/UI/ui_dialog_gross_1170x321.png
Normal file
|
After Width: | Height: | Size: 6.3 KiB |
BIN
art/final3x/UI/ui_kampf_leiste_1200x168.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
art/final3x/UI/ui_ladebalken_720x78.png
Normal file
|
After Width: | Height: | Size: 961 B |
BIN
art/final3x/UI/ui_menu_144x54.png
Normal file
|
After Width: | Height: | Size: 386 B |
BIN
art/final3x/UI/ui_misc_660x390.png
Normal file
|
After Width: | Height: | Size: 4 KiB |
BIN
art/final3x/UI/ui_panel_9slice_36px.png
Normal file
|
After Width: | Height: | Size: 194 B |
BIN
art/final3x/UI/ui_party_120px.png
Normal file
|
After Width: | Height: | Size: 47 KiB |
BIN
art/final3x/UI/ui_slots_78px.png
Normal file
|
After Width: | Height: | Size: 2 KiB |
BIN
art/final3x/UI/ui_window_pack_510x396.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
art/final3x/UI/ui_window_zauber_510x420.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
art/prep/ui3/_bildschirm_1920x1080.png
Normal file
|
After Width: | Height: | Size: 286 KiB |
BIN
art/prep/ui3/_bildschirm_vorher_1920x1080.png
Normal file
|
After Width: | Height: | Size: 178 KiB |
BIN
art/prep/ui3/_elemente.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
art/prep/ui3/_panel_probe_1200x620.png
Normal file
|
After Width: | Height: | Size: 6 KiB |
BIN
art/prep/ui3/_vergleich_gras_kante.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
art/prep/ui3/_vergleich_stadt.png
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
art/prep/ui3/_vergleich_terrain.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
|
|
@ -1,20 +1,18 @@
|
|||
#!/usr/bin/env python3
|
||||
"""engine_assets.py - 1x-Fassung der Assets fuer das Godot-Projekt.
|
||||
|
||||
Das Spiel rendert in einem **640x360-Viewport** (docs/engine.md E1). Darin ist
|
||||
eine Kachel 32 px, eine Kreatur 96 px, die Dialogbox 390 px. `art/final/`
|
||||
liegt dagegen in 2x (Kachel 64, Kreatur 192) — das ist das Bild, das bei 720p
|
||||
auf dem Schirm steht, nicht das, was die Engine rechnet.
|
||||
Das Spiel rendert in einem **1920x1080-Viewport** (docs/engine.md E1). Darin
|
||||
ist eine Kachel 96 px, eine Kreatur 288 px, die Dialogbox 1170 px.
|
||||
`art/final3x/` liegt genau in diesem Massstab (1x) — die 640er-Fassung in
|
||||
`art/final/` ist Altbestand und wird hier nicht mehr gelesen.
|
||||
|
||||
Dieses Werkzeug schreibt deshalb die 1x-Kopie nach `game/assets/`:
|
||||
|
||||
python3 tools/engine_assets.py --write
|
||||
python3 tools/engine_assets.py --check # Exit 1, wenn die Kopie abweicht
|
||||
|
||||
Die Halbierung ist verlustfrei: jede 2x-Datei ist ein exakter
|
||||
nearest-Upscale der 1x-Zeichnung (geprueft mit demselben Rundlauf wie
|
||||
`nachlauf2x.py`). `font/` wird kopiert, nicht halbiert — der 1x-Font ist schon
|
||||
die Engine-Fassung; `_palette_*` und `_versuche` kommen nicht mit.
|
||||
Bilder und Schriften werden **1:1** kopiert. `_2x`-Fassungen (Reserve fuer 4K)
|
||||
und Dateien mit Unterstrich (Paletten, Rampen, Belegbilder) bleiben draussen.
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
|
|
@ -26,10 +24,10 @@ from pathlib import Path
|
|||
from PIL import Image
|
||||
|
||||
ART = Path(__file__).resolve().parent.parent
|
||||
FINAL = ART / "final"
|
||||
FINAL = ART / "final3x"
|
||||
PROJEKT = ART.parent / "game" / "assets"
|
||||
|
||||
# art/final/<Quelle> -> game/assets/<Ziel>
|
||||
# art/final3x/<Quelle> -> game/assets/<Ziel>
|
||||
ORDNER = {
|
||||
"Terrain": "terrain",
|
||||
"Creatures": "creatures",
|
||||
|
|
@ -39,26 +37,20 @@ ORDNER = {
|
|||
"UI": "ui",
|
||||
"Pictures": "pictures",
|
||||
}
|
||||
KOPIEREN = {"Font": "font"} # 1:1, keine Halbierung
|
||||
UEBERSPRINGEN = ("_palette_", "_karte_demo", "_vergleich", "_referenz")
|
||||
KOPIEREN = {"Font": "font"}
|
||||
UEBERSPRINGEN = ("_",)
|
||||
|
||||
|
||||
def exakt_2x(im: Image.Image) -> bool:
|
||||
"""Ist `im` ein exakter 2x-Nearest-Upscale? (Vergleich ueber Rohbytes --
|
||||
`getbbox()` auf RGBA-Differenzen liefert immer None, siehe nachlauf2x.py.)"""
|
||||
w, h = im.size
|
||||
if w % 2 or h % 2:
|
||||
def soll_datei(name: str) -> bool:
|
||||
"""Gehoert die Datei in die Engine-Kopie? (keine 2x-Reserve, kein Beleg)"""
|
||||
return not name.startswith(UEBERSPRINGEN) and "_2x" not in name
|
||||
|
||||
|
||||
def gleich(a: Path, b: Path) -> bool:
|
||||
"""Byte-Gleichheit; bei PNG zusaetzlich die Groesse (Fehlermeldung)."""
|
||||
if not b.exists() or a.stat().st_size != b.stat().st_size:
|
||||
return False
|
||||
# NEAREST statt BOX: BOX rundet auf halbtransparentem RGBA um 1 ab.
|
||||
klein = im.resize((w // 2, h // 2), Image.NEAREST)
|
||||
return klein.resize(im.size, Image.NEAREST).tobytes() == im.tobytes()
|
||||
|
||||
|
||||
def soll_bild(quelle: Path) -> Image.Image | None:
|
||||
im = Image.open(quelle).convert("RGBA")
|
||||
if not exakt_2x(im):
|
||||
return None
|
||||
return im.resize((im.width // 2, im.height // 2), Image.NEAREST)
|
||||
return a.read_bytes() == b.read_bytes()
|
||||
|
||||
|
||||
def lauf(schreiben: bool) -> list[str]:
|
||||
|
|
@ -70,39 +62,36 @@ def lauf(schreiben: bool) -> list[str]:
|
|||
if not q.is_dir():
|
||||
continue
|
||||
for p in sorted(q.glob("*.png")):
|
||||
if p.name.startswith(UEBERSPRINGEN):
|
||||
continue
|
||||
bild = soll_bild(p)
|
||||
if bild is None:
|
||||
fehler.append(f"{p}: kein exakter 2x-Upscale")
|
||||
if not soll_datei(p.name):
|
||||
continue
|
||||
ziel_dir = PROJEKT / ziel
|
||||
ziel_pfad = ziel_dir / p.name
|
||||
anzahl += 1
|
||||
if schreiben:
|
||||
ziel_dir.mkdir(parents=True, exist_ok=True)
|
||||
bild.save(ziel_pfad)
|
||||
elif not ziel_pfad.exists():
|
||||
fehler.append(f"{ziel_pfad}: fehlt (--write ausfuehren)")
|
||||
else:
|
||||
ist = Image.open(ziel_pfad).convert("RGBA")
|
||||
if ist.size != bild.size or ist.tobytes() != bild.tobytes():
|
||||
fehler.append(f"{ziel_pfad}: weicht ab")
|
||||
shutil.copyfile(p, ziel_pfad)
|
||||
elif not gleich(p, ziel_pfad):
|
||||
ist = (Image.open(ziel_pfad).size
|
||||
if ziel_pfad.exists() else "fehlt")
|
||||
fehler.append(f"{ziel_pfad}: weicht ab (Quelle "
|
||||
f"{Image.open(p).size}, Kopie {ist})")
|
||||
|
||||
for quelle, ziel in KOPIEREN.items():
|
||||
q = FINAL / quelle
|
||||
if not q.is_dir():
|
||||
continue
|
||||
for p in sorted(q.iterdir()):
|
||||
if not p.is_file() or p.suffix not in (".fnt", ".png") or "_2x" in p.name:
|
||||
if (not p.is_file() or p.suffix not in (".fnt", ".png")
|
||||
or not soll_datei(p.name)):
|
||||
continue
|
||||
ziel_dir = PROJEKT / ziel
|
||||
anzahl += 1
|
||||
if schreiben:
|
||||
ziel_dir.mkdir(parents=True, exist_ok=True)
|
||||
shutil.copyfile(p, ziel_dir / p.name)
|
||||
elif not (ziel_dir / p.name).exists():
|
||||
fehler.append(f"{ziel_dir / p.name}: fehlt (--write ausfuehren)")
|
||||
elif not gleich(p, ziel_dir / p.name):
|
||||
fehler.append(f"{ziel_dir / p.name}: fehlt oder weicht ab "
|
||||
f"(--write ausfuehren)")
|
||||
|
||||
stand = "geschrieben" if schreiben else "geprueft"
|
||||
print(f"{anzahl} Dateien {stand} -> {PROJEKT.relative_to(ART.parent)}/")
|
||||
|
|
|
|||
649
art/tools/ui3.py
Normal file
|
|
@ -0,0 +1,649 @@
|
|||
#!/usr/bin/env python3
|
||||
"""UI-Generator für Taloria bei 3x — 1920x1080-Basis.
|
||||
|
||||
Die 640er-Fassung steht in `ui.py`; dieses Werkzeug setzt dieselben Bausteine
|
||||
im neuen Raster: Linien und Bevel **3 px**, 9-Slice-Rand **6 px**, Fließtext
|
||||
**Press Start 2P 24** (Vorschub 24, Zeile 36), Titel **Pirata One 36**.
|
||||
|
||||
python3 tools/ui3.py # -> final3x/UI/
|
||||
python3 tools/ui3.py --out /tmp/ui3 # woanders hin
|
||||
python3 tools/ui3.py --preview # + Bildschirm-Mock in prep/ui3/
|
||||
|
||||
Die Dateinamen tragen die Basisgröße bei 1x (z. B.
|
||||
`ui_dialog_1170x213.png`); die Datei ist genau so groß, weil 1x hier
|
||||
1920x1080 bedeutet. Es wird **nicht** hochskaliert.
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import random
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
from PIL import Image, ImageDraw
|
||||
|
||||
HERE = Path(__file__).resolve().parent
|
||||
sys.path.insert(0, str(HERE))
|
||||
import ui # noqa: E402 (Palette der 640er-Fassung)
|
||||
from font_ttf import Font # noqa: E402
|
||||
|
||||
ART = HERE.parent
|
||||
FINAL3X = ART / "final3x"
|
||||
OUT = FINAL3X / "UI"
|
||||
PREP = ART / "prep" / "ui3"
|
||||
|
||||
K = 3 # 1x (640) -> 1x (1920)
|
||||
B = 3 # Linien und Bevel
|
||||
SLICE = 2 * B # 9-Slice-Rand: 3 px Linie + 3 px Bevel
|
||||
|
||||
UI = Font(FINAL3X / "Font/ttf/PressStart2P-Regular.ttf", 24)
|
||||
UI.LINE = 36
|
||||
TITEL = Font(FINAL3X / "Font/ttf/PirataOne-Regular.ttf", 36)
|
||||
TITEL.LINE = 54
|
||||
|
||||
|
||||
def s(v: int) -> int:
|
||||
return v * K
|
||||
|
||||
|
||||
def alpha(c, a: int = 255):
|
||||
return (c[0], c[1], c[2], a)
|
||||
|
||||
|
||||
# ------------------------------------------------------------- Bausteine ----
|
||||
def panel(d, box, fill=ui.PANEL, line=ui.LINE, bevel=True):
|
||||
"""Fläche mit 3-px-Bevel (Licht oben links) und 3-px-Rahmenlinie."""
|
||||
x0, y0, x1, y1 = box
|
||||
d.rectangle(box, fill=fill)
|
||||
if bevel:
|
||||
d.rectangle((x0 + B, y0 + B, x1 - B, y0 + 2 * B - 1),
|
||||
fill=ui.PANEL_HI)
|
||||
d.rectangle((x0 + B, y0 + B, x0 + 2 * B - 1, y1 - B),
|
||||
fill=ui.PANEL_HI)
|
||||
d.rectangle((x0 + B, y1 - 2 * B + 1, x1 - B, y1 - B),
|
||||
fill=ui.PANEL_LO)
|
||||
d.rectangle((x1 - 2 * B + 1, y0 + B, x1 - B, y1 - B),
|
||||
fill=ui.PANEL_LO)
|
||||
if line is not None:
|
||||
d.rectangle(box, outline=line, width=B)
|
||||
|
||||
|
||||
def well(d, box, fill=ui.PANEL_LO):
|
||||
"""Vertiefte Fläche: 3 px dunkel oben/links, Licht unten/rechts."""
|
||||
x0, y0, x1, y1 = box
|
||||
d.rectangle(box, fill=fill)
|
||||
d.rectangle((x0, y0, x1, y0 + B - 1), fill=ui.INK)
|
||||
d.rectangle((x0, y0, x0 + B - 1, y1), fill=ui.INK)
|
||||
d.rectangle((x0, y1 - B + 1, x1, y1), fill=ui.PANEL_HI)
|
||||
d.rectangle((x1 - B + 1, y0, x1, y1), fill=ui.PANEL_HI)
|
||||
|
||||
|
||||
def title_bar(im, d, box, label):
|
||||
x0, y0, x1, y1 = box
|
||||
d.rectangle(box, fill=ui.OCHRE_D)
|
||||
d.rectangle((x0, y1 - B + 1, x1, y1), fill=ui.INK)
|
||||
UI.draw_text(im, x0 + s(5), y0 + s(4), label, ui.CREAM)
|
||||
|
||||
|
||||
def bar(im, d, x, y, w, h, label, value, vmax, color):
|
||||
UI.draw_text(im, x, y + 3, label, ui.CREAM_D)
|
||||
bx = x + UI.text_width(label) + s(4)
|
||||
well(d, (bx, y, bx + w - 1, y + h - 1))
|
||||
fillw = round((w - s(4)) * value / vmax)
|
||||
if fillw > 0:
|
||||
d.rectangle((bx + s(2), y + s(2), bx + s(1) + fillw, y + h - s(3)),
|
||||
fill=color)
|
||||
d.line((bx + s(2), y + s(2), bx + s(1) + fillw, y + s(2)),
|
||||
fill=ui.lighter(color, 1.15), width=B)
|
||||
UI.draw_text(im, bx + w + s(4), y + 3, f"{value}/{vmax}", ui.CREAM_D)
|
||||
|
||||
|
||||
# ---------------------------------------------------------------- Elemente --
|
||||
def elem_dialog(lines, name, height, w=390) -> Image.Image:
|
||||
"""Textbox mit Namensschild — `height` bei 1x (66 = 3 Zeilen, 102 = 6)."""
|
||||
w3, h3 = s(w), s(height + 5)
|
||||
im = Image.new("RGBA", (w3, h3), (0, 0, 0, 0))
|
||||
d = ImageDraw.Draw(im)
|
||||
|
||||
d.rectangle((0, s(5), w3 - 1, h3 - 1), fill=alpha(ui.PANEL, 238))
|
||||
d.rectangle((0, s(5), w3 - 1, h3 - 1), outline=ui.INK, width=B)
|
||||
d.rectangle((B, s(6), w3 - 1 - B, h3 - 1 - B),
|
||||
outline=ui.LINE, width=B)
|
||||
d.line((s(2), s(6), w3 - s(3), s(6)), fill=ui.PANEL_LO, width=B)
|
||||
|
||||
tw = TITEL.text_width(name) + s(16)
|
||||
d.rectangle((s(6), 0, s(6) + tw, s(19)), fill=ui.OCHRE_D)
|
||||
d.rectangle((s(6), 0, s(6) + tw, s(19)), outline=ui.INK, width=B)
|
||||
d.line((s(7), 3, s(5) + tw, 3), fill=ui.OCHRE, width=B)
|
||||
TITEL.draw_text(im, s(14), s(4), name, ui.CREAM)
|
||||
|
||||
for i, line in enumerate(lines):
|
||||
UI.draw_text(im, s(11), s(24) + i * UI.LINE, line,
|
||||
ui.CREAM if i < len(lines) - 1 else ui.CREAM_D)
|
||||
|
||||
ax, ay = w3 - s(13), s(height) + 3
|
||||
for i in range(4):
|
||||
d.line((ax - i * B, ay - i * B, ax + i * B, ay - i * B),
|
||||
fill=ui.OCHRE, width=B)
|
||||
return im
|
||||
|
||||
|
||||
def elem_menu() -> Image.Image:
|
||||
"""MENU-Knopf oben links: 144x54."""
|
||||
im = Image.new("RGBA", (s(48), s(18)), (0, 0, 0, 0))
|
||||
d = ImageDraw.Draw(im)
|
||||
d.rectangle((0, 0, im.width - 1, im.height - 1),
|
||||
fill=alpha(ui.PANEL, 232))
|
||||
d.rectangle((0, 0, im.width - 1, im.height - 1),
|
||||
outline=ui.LINE, width=B)
|
||||
UI.draw_text(im, s(7), s(5), "MENU", ui.CREAM)
|
||||
return im
|
||||
|
||||
|
||||
def elem_buttons() -> Image.Image:
|
||||
labels = ["ATTACK", "TALK", "USE", "FLEE"]
|
||||
bw, bh, gap = s(64), s(18), s(6)
|
||||
im = Image.new("RGBA", (bw, (bh + gap) * 4 + s(4)), (0, 0, 0, 0))
|
||||
d = ImageDraw.Draw(im)
|
||||
for i, (label, state) in enumerate(zip(labels, ["idle", "hover",
|
||||
"pressed", "disabled"])):
|
||||
y = i * (bh + gap)
|
||||
tw = UI.text_width(label)
|
||||
if state == "hover":
|
||||
panel(d, (0, y, bw - 1, y + bh - 1), fill=ui.OCHRE_D, line=ui.GOLD)
|
||||
UI.draw_text(im, (bw - tw) // 2, y + s(4), label, ui.CREAM)
|
||||
elif state == "pressed":
|
||||
well(d, (0, y, bw - 1, y + bh - 1), fill=(30, 25, 21, 255))
|
||||
UI.draw_text(im, (bw - tw) // 2 + B, y + s(5), label, ui.CREAM_D)
|
||||
elif state == "disabled":
|
||||
panel(d, (0, y, bw - 1, y + bh - 1), fill=(44, 37, 32, 255),
|
||||
line=(74, 62, 50, 255), bevel=False)
|
||||
UI.draw_text(im, (bw - tw) // 2, y + s(4), label, (98, 86, 70, 255))
|
||||
else:
|
||||
panel(d, (0, y, bw - 1, y + bh - 1))
|
||||
UI.draw_text(im, (bw - tw) // 2, y + s(4), label, ui.CREAM)
|
||||
return im
|
||||
|
||||
|
||||
def icon_sword(size: int = 60) -> Image.Image:
|
||||
im = Image.new("RGBA", (size, size), (0, 0, 0, 0))
|
||||
d = ImageDraw.Draw(im)
|
||||
m = size / 20
|
||||
# Diagonale Klinge — liest sich bei 60 px besser als eine senkrechte Nadel.
|
||||
d.polygon([(15 * m, 1 * m), (19 * m, 5 * m), (7 * m, 17 * m),
|
||||
(3 * m, 13 * m)], fill=ui.CREAM)
|
||||
d.line((17 * m, 3 * m, 5 * m, 15 * m), fill=ui.CREAM_D, width=B)
|
||||
d.line((2 * m, 14 * m, 9 * m, 7 * m), fill=ui.OCHRE_D, width=2 * B - 1)
|
||||
d.line((1 * m, 18 * m, 6 * m, 13 * m), fill=ui.INK, width=B)
|
||||
d.ellipse((0, 16 * m, 4 * m, 20 * m), fill=ui.GOLD)
|
||||
return im
|
||||
|
||||
|
||||
def icon_herb(size: int = 60) -> Image.Image:
|
||||
im = Image.new("RGBA", (size, size), (0, 0, 0, 0))
|
||||
d = ImageDraw.Draw(im)
|
||||
m = size / 20
|
||||
d.polygon([(10 * m, 1 * m), (13 * m, 8 * m), (10 * m, 18 * m),
|
||||
(7 * m, 8 * m)], fill=ui.OLIVE)
|
||||
d.line((10 * m, 3 * m, 10 * m, 16 * m), fill=ui.OLIVE_D, width=B)
|
||||
d.line((8 * m, 9 * m, 4 * m, 13 * m), fill=ui.OLIVE_D, width=B)
|
||||
d.line((12 * m, 9 * m, 16 * m, 13 * m), fill=ui.OLIVE_D, width=B)
|
||||
return im
|
||||
|
||||
|
||||
def icon_coin(size: int = 60) -> Image.Image:
|
||||
im = Image.new("RGBA", (size, size), (0, 0, 0, 0))
|
||||
d = ImageDraw.Draw(im)
|
||||
m = size / 20
|
||||
d.ellipse((3 * m, 6 * m, 16 * m, 18 * m), fill=ui.OCHRE)
|
||||
d.ellipse((4 * m, 7 * m, 15 * m, 17 * m), outline=ui.GOLD, width=B)
|
||||
return im
|
||||
|
||||
|
||||
def elem_slots() -> Image.Image:
|
||||
sl, gap = s(26), s(4)
|
||||
im = Image.new("RGBA", (sl * 6 + gap * 5, sl + s(6)), (0, 0, 0, 0))
|
||||
d = ImageDraw.Draw(im)
|
||||
sprites = [None, icon_sword(), icon_herb(), None, icon_coin(), None]
|
||||
for i, sprite in enumerate(sprites):
|
||||
x = i * (sl + gap)
|
||||
well(d, (x, s(3), x + sl - 1, s(3) + sl - 1))
|
||||
if sprite is not None:
|
||||
im.alpha_composite(sprite, (x + s(3), s(6)))
|
||||
if i == 4:
|
||||
d.rectangle((x, s(3), x + sl - 1, s(3) + sl - 1),
|
||||
outline=ui.GOLD, width=s(2))
|
||||
d.rectangle((x + B, s(3) + B, x + sl - 1 - B, s(3) + sl - 1 - B),
|
||||
outline=ui.GOLD, width=s(2))
|
||||
d.rectangle((x + s(8), s(16), x + s(24), s(27)), fill=ui.INK)
|
||||
UI.draw_text(im, x + s(9), s(17), "12", ui.GOLD)
|
||||
if i == 5:
|
||||
hatch = Image.new("RGBA", (sl, sl), (0, 0, 0, 0))
|
||||
hd = ImageDraw.Draw(hatch)
|
||||
for k in range(-sl, sl, s(6)):
|
||||
hd.line((k, sl - 1, k + sl - 1, 0),
|
||||
fill=(54, 46, 38, 255), width=B)
|
||||
im.alpha_composite(hatch, (x, s(3)))
|
||||
d.rectangle((x, s(3), x + sl - 1, s(3) + sl - 1),
|
||||
outline=ui.INK, width=B)
|
||||
return im
|
||||
|
||||
|
||||
def elem_pack() -> Image.Image:
|
||||
w, h = s(170), s(132)
|
||||
im = Image.new("RGBA", (w, h), (0, 0, 0, 0))
|
||||
d = ImageDraw.Draw(im)
|
||||
panel(d, (0, 0, w - 1, h - 1), line=ui.INK)
|
||||
d.rectangle((B, B, w - 1 - B, h - 1 - B), outline=ui.LINE, width=B)
|
||||
title_bar(im, d, (s(2), s(2), w - s(3), s(18)), "PACK")
|
||||
|
||||
d.rectangle((w - s(17), s(5), w - s(5), s(15)), fill=ui.PANEL_LO)
|
||||
d.rectangle((w - s(17), s(5), w - s(5), s(15)), outline=ui.LINE, width=B)
|
||||
d.line((w - s(13), s(7), w - s(9), s(11)), fill=ui.CREAM_D, width=B)
|
||||
d.line((w - s(9), s(7), w - s(13), s(11)), fill=ui.CREAM_D, width=B)
|
||||
|
||||
sl, gap, ox, oy = s(26), s(4), s(8), s(24)
|
||||
for row in range(3):
|
||||
for col in range(5):
|
||||
x = ox + col * (sl + gap)
|
||||
y = oy + row * (sl + gap)
|
||||
well(d, (x, y, x + sl - 1, y + sl - 1))
|
||||
|
||||
UI.draw_text(im, s(8), h - s(14), "LOAD 42/60", ui.CREAM_D)
|
||||
UI.draw_text(im, w - s(8) - UI.text_width("128 GOLD"), h - s(14),
|
||||
"128 GOLD", ui.GOLD)
|
||||
return im
|
||||
|
||||
|
||||
def rune(kind: str) -> Image.Image:
|
||||
"""Magiesymbole für das Zauberbuch, 42x42."""
|
||||
im = Image.new("RGBA", (s(14), s(14)), (0, 0, 0, 0))
|
||||
d = ImageDraw.Draw(im)
|
||||
m = s(1)
|
||||
if kind == "fire":
|
||||
d.polygon([(7 * m, 0), (13 * m, 7 * m), (11 * m, 13 * m),
|
||||
(3 * m, 13 * m), (1 * m, 7 * m)], fill=ui.BLOOD)
|
||||
d.polygon([(7 * m, 5 * m), (10 * m, 8 * m), (9 * m, 12 * m),
|
||||
(5 * m, 12 * m), (4 * m, 8 * m)], fill=ui.GOLD)
|
||||
elif kind == "ice":
|
||||
d.polygon([(7 * m, 0), (13 * m, 7 * m), (7 * m, 13 * m),
|
||||
(1 * m, 7 * m)], fill=ui.SLATE)
|
||||
d.polygon([(7 * m, 3 * m), (10 * m, 7 * m), (7 * m, 11 * m),
|
||||
(4 * m, 7 * m)], fill=ui.CREAM)
|
||||
elif kind == "bolt":
|
||||
d.polygon([(9 * m, 0), (3 * m, 7 * m), (6 * m, 7 * m),
|
||||
(4 * m, 13 * m), (11 * m, 5 * m), (8 * m, 5 * m)],
|
||||
fill=ui.GOLD)
|
||||
elif kind == "ward":
|
||||
d.ellipse((m, m, 13 * m, 13 * m), outline=ui.CREAM, width=B)
|
||||
d.line((7 * m, 3 * m, 7 * m, 10 * m), fill=ui.CREAM, width=B)
|
||||
d.line((4 * m, 6 * m, 10 * m, 6 * m), fill=ui.CREAM, width=B)
|
||||
elif kind == "eye":
|
||||
d.ellipse((m, 4 * m, 13 * m, 10 * m), fill=ui.CREAM)
|
||||
d.ellipse((5 * m, 5 * m, 9 * m, 9 * m), fill=ui.INK)
|
||||
elif kind == "leaf":
|
||||
d.polygon([(7 * m, 0), (12 * m, 7 * m), (7 * m, 13 * m),
|
||||
(2 * m, 7 * m)], fill=ui.OLIVE)
|
||||
d.line((7 * m, 2 * m, 7 * m, 11 * m), fill=ui.OLIVE_D, width=B)
|
||||
elif kind == "star":
|
||||
d.polygon([(7 * m, 0), (8 * m, 5 * m), (13 * m, 7 * m),
|
||||
(8 * m, 8 * m), (7 * m, 13 * m), (6 * m, 8 * m),
|
||||
(m, 7 * m), (6 * m, 5 * m)], fill=ui.GOLD)
|
||||
elif kind == "skull":
|
||||
d.rectangle((3 * m, m, 10 * m, 8 * m), fill=ui.CREAM)
|
||||
d.rectangle((4 * m, 9 * m, 9 * m, 11 * m), fill=ui.CREAM)
|
||||
d.rectangle((5 * m, 4 * m, 6 * m, 6 * m), fill=ui.INK)
|
||||
d.rectangle((8 * m, 4 * m, 9 * m, 6 * m), fill=ui.INK)
|
||||
d.rectangle((6 * m, 6 * m, 7 * m, 8 * m), fill=ui.INK)
|
||||
return im
|
||||
|
||||
|
||||
def elem_spells() -> Image.Image:
|
||||
w, h = s(170), s(140)
|
||||
im = Image.new("RGBA", (w, h), (0, 0, 0, 0))
|
||||
d = ImageDraw.Draw(im)
|
||||
panel(d, (0, 0, w - 1, h - 1), line=ui.INK)
|
||||
d.rectangle((B, B, w - 1 - B, h - 1 - B), outline=ui.LINE, width=B)
|
||||
title_bar(im, d, (s(2), s(2), w - s(3), s(18)), "SPELLBOOK")
|
||||
|
||||
for i, (label, active) in enumerate([("ARCANE", True),
|
||||
("DIVINE", False)]):
|
||||
x = s(6) + i * s(62)
|
||||
panel(d, (x, s(22), x + s(57), s(38)),
|
||||
fill=ui.OCHRE_D if active else ui.PANEL_LO,
|
||||
line=ui.GOLD if active else ui.LINE, bevel=not active)
|
||||
UI.draw_text(im, x + s(5), s(26), label,
|
||||
ui.CREAM if active else ui.CREAM_D)
|
||||
|
||||
spells = [("fire", 3), ("ice", 2), ("bolt", 2), ("ward", 1), ("eye", 4),
|
||||
("leaf", 1), ("star", 3), (None, 0), (None, 0), (None, 0),
|
||||
(None, 0), (None, 0), (None, 0), (None, 0), (None, 0)]
|
||||
sl, gap, ox, oy = s(20), s(4), s(16), s(44)
|
||||
for idx, (kind, cost) in enumerate(spells):
|
||||
col, row = idx % 5, idx // 5
|
||||
x = ox + col * (sl + gap)
|
||||
y = oy + row * (sl + gap)
|
||||
well(d, (x, y, x + sl - 1, y + sl - 1))
|
||||
if kind:
|
||||
im.alpha_composite(rune(kind), (x + s(3), y + s(3)))
|
||||
d.rectangle((x + s(11), y + s(10), x + s(19), y + s(19)),
|
||||
fill=ui.INK)
|
||||
UI.draw_text(im, x + s(12), y + s(10), str(cost), ui.GOLD)
|
||||
if idx == 0:
|
||||
d.rectangle((x, y, x + sl - 1, y + sl - 1),
|
||||
outline=ui.GOLD, width=s(2))
|
||||
d.rectangle((x + B, y + B, x + sl - 1 - B, y + sl - 1 - B),
|
||||
outline=ui.GOLD, width=s(2))
|
||||
|
||||
UI.draw_text(im, s(8), h - s(14), "MEM 3/6 SLOTS", ui.CREAM_D)
|
||||
UI.draw_text(im, w - s(8) - UI.text_width("LVL 4"), h - s(14),
|
||||
"LVL 4", ui.GOLD)
|
||||
return im
|
||||
|
||||
|
||||
def party_portraits(size: int = 96) -> list[Image.Image] | None:
|
||||
names = ("krieger", "magierin", "zwerg", "elfin", "halbling", "gelehrter")
|
||||
paths = [FINAL3X / "Players" / f"portrait_{n}_96px.png" for n in names]
|
||||
if not all(p.exists() for p in paths):
|
||||
return None
|
||||
return [Image.open(p).convert("RGBA").resize((size, size), Image.NEAREST)
|
||||
for p in paths]
|
||||
|
||||
|
||||
def elem_party(portraits=None, count: int = 6, fw: int = 120,
|
||||
fh: int = 126, psize: int = 96) -> Image.Image:
|
||||
gap = 12
|
||||
im = Image.new("RGBA", (fw, fh * count + gap * (count - 1)),
|
||||
(0, 0, 0, 0))
|
||||
d = ImageDraw.Draw(im)
|
||||
hp = [(176, 140, 108, 255), (156, 122, 94, 255)]
|
||||
for i in range(count):
|
||||
y = i * (fh + gap)
|
||||
panel(d, (0, y, fw - 1, y + fh - 1))
|
||||
d.rectangle((9, y + 9, fw - 10, y + fh - 18), fill=ui.PANEL_LO)
|
||||
if portraits and i < len(portraits):
|
||||
im.alpha_composite(portraits[i], (12, y + 12))
|
||||
bw = round((fw - 30) * (0.72 if i % 2 == 0 else 0.52))
|
||||
by = y + fh - 15
|
||||
d.rectangle((12, by, 12 + bw, by + 8), fill=hp[i % 2])
|
||||
d.rectangle((9, by - 3, fw - 10, by + 9), outline=ui.INK, width=B)
|
||||
if i == 0:
|
||||
d.rectangle((0, y, fw - 1, y + fh - 1),
|
||||
outline=ui.GOLD, width=B)
|
||||
return im
|
||||
|
||||
|
||||
def elem_misc() -> Image.Image:
|
||||
im = Image.new("RGBA", (s(220), s(130)), (0, 0, 0, 0))
|
||||
d = ImageDraw.Draw(im)
|
||||
bar(im, d, 0, 0, s(120), s(12), "HP", 24, 30, ui.BLOOD)
|
||||
bar(im, d, 0, s(16), s(120), s(12), "SP", 11, 20, ui.OLIVE)
|
||||
bar(im, d, 0, s(32), s(120), s(12), "MP", 3, 15, ui.SLATE)
|
||||
|
||||
for i, on in enumerate([False, True]):
|
||||
x = s(188) + i * s(18)
|
||||
well(d, (x, s(2), x + s(13), s(15)))
|
||||
if on:
|
||||
d.line((x + s(3), s(8), x + s(6), s(12)), fill=ui.GOLD, width=B)
|
||||
d.line((x + s(6), s(12), x + s(10), s(4)), fill=ui.GOLD, width=B)
|
||||
|
||||
sx, sy = 0, s(70)
|
||||
UI.draw_text(im, sx, s(52), "VOLUME", ui.CREAM_D)
|
||||
well(d, (sx, sy, sx + s(100), sy + s(7)))
|
||||
d.rectangle((sx + s(2), sy + s(2), sx + s(54), sy + s(5)),
|
||||
fill=ui.OCHRE_D)
|
||||
panel(d, (sx + s(51), sy - s(4), sx + s(59), sy + s(11)), bevel=False)
|
||||
|
||||
panel(d, (s(110), s(50), s(218), s(86)),
|
||||
fill=alpha((30, 25, 21, 255), 246), line=ui.INK)
|
||||
UI.draw_text(im, s(116), s(54), "RUSTY SWORD", ui.CREAM)
|
||||
UI.draw_text(im, s(116), s(66), "1D6+1 SLASH", ui.CREAM_D)
|
||||
UI.draw_text(im, s(116), s(78), "10 GOLD", ui.GOLD)
|
||||
|
||||
cx, cy = s(180), s(98)
|
||||
d.polygon([(cx, cy), (cx + s(11), cy + s(4)), (cx + s(5), cy + s(6)),
|
||||
(cx + s(8), cy + s(12)), (cx + s(5), cy + s(13)),
|
||||
(cx + s(3), cy + s(7)), (cx, cy + s(7))],
|
||||
fill=ui.CREAM, outline=ui.INK, width=B)
|
||||
return im
|
||||
|
||||
|
||||
def elem_combat() -> Image.Image:
|
||||
w, h = s(400), s(56)
|
||||
im = Image.new("RGBA", (w, h), (0, 0, 0, 0))
|
||||
d = ImageDraw.Draw(im)
|
||||
|
||||
chips = [ui.SLATE, ui.SLATE, ui.BLOOD, ui.GOLD, ui.SLATE, ui.BLOOD,
|
||||
ui.SLATE, ui.BLOOD]
|
||||
for i, fill in enumerate(chips):
|
||||
x = s(6) + i * s(14)
|
||||
d.rectangle((x, s(2), x + s(9), s(11)), fill=fill)
|
||||
d.rectangle((x, s(2), x + s(9), s(11)),
|
||||
outline=ui.GOLD if fill == ui.GOLD else ui.INK, width=B)
|
||||
UI.draw_text(im, s(134), s(2), "RND 3", ui.CREAM_D)
|
||||
|
||||
panel(d, (0, s(17), w - 1, h - 1), fill=alpha(ui.PANEL, 236),
|
||||
line=ui.INK)
|
||||
labels = ["ATTACK", "MOVE", "SPELL", "ITEM", "DEFEND", "END TURN"]
|
||||
x = s(6)
|
||||
for label in labels:
|
||||
bw = UI.text_width(label) + s(14)
|
||||
panel(d, (x, s(23), x + bw - 1, s(49)),
|
||||
fill=ui.OCHRE_D if label == "SPELL" else ui.PANEL,
|
||||
line=ui.GOLD if label == "SPELL" else ui.LINE)
|
||||
UI.draw_text(im, x + s(7), s(31), label,
|
||||
ui.CREAM if label == "SPELL" else ui.CREAM_D)
|
||||
x += bw + s(4)
|
||||
return im
|
||||
|
||||
|
||||
def elem_loadbar() -> Image.Image:
|
||||
w, h = s(240), s(26)
|
||||
im = Image.new("RGBA", (w, h), (0, 0, 0, 0))
|
||||
d = ImageDraw.Draw(im)
|
||||
UI.draw_text(im, 0, 0, "LOADING THE HARBOUR", ui.CREAM_D)
|
||||
UI.draw_text(im, w - UI.text_width("62%") - 3, 0, "62%", ui.CREAM_D)
|
||||
well(d, (0, s(14), w - 1, h - 1))
|
||||
fillw = round((w - s(4)) * 0.62)
|
||||
d.rectangle((s(2), s(16), s(1) + fillw, h - s(2)), fill=ui.OCHRE_D)
|
||||
d.line((s(2), s(16), s(1) + fillw, s(16)), fill=ui.OCHRE, width=B)
|
||||
for k in range(1, 10):
|
||||
x = s(2) + round((w - s(4)) * k / 10)
|
||||
d.line((x, s(16), x, h - s(2)), fill=alpha(ui.INK, 150), width=B)
|
||||
return im
|
||||
|
||||
|
||||
def elem_panel_slice(size: int = 36) -> Image.Image:
|
||||
im = Image.new("RGBA", (size, size), (0, 0, 0, 0))
|
||||
panel(ImageDraw.Draw(im), (0, 0, size - 1, size - 1))
|
||||
return im
|
||||
|
||||
|
||||
def palette_anchor() -> Image.Image:
|
||||
"""UI-Palette als PNG (16 Felder à 24 px)."""
|
||||
im = Image.new("RGB", (s(32), s(32)), ui.INK[:3])
|
||||
for i, c in enumerate(ui.PALETTE[:16]):
|
||||
x, y = (i % 4) * s(8), (i // 4) * s(8)
|
||||
ImageDraw.Draw(im).rectangle((x, y, x + s(8) - 1, y + s(8) - 1),
|
||||
fill=c[:3])
|
||||
return im
|
||||
|
||||
|
||||
# ------------------------------------------------------------------ Ausgabe --
|
||||
def save(im: Image.Image, out: Path, name: str) -> None:
|
||||
out.mkdir(parents=True, exist_ok=True)
|
||||
im.save(out / f"{name}.png")
|
||||
px = list(im.getdata())
|
||||
colors = len({p[:3] for p in px if len(p) < 4 or p[3] > 0})
|
||||
print(f"{name:28s} {im.width:4d}x{im.height:<4d} {colors:5d} Farben")
|
||||
|
||||
|
||||
def elemente() -> dict[str, Image.Image]:
|
||||
return {
|
||||
"ui_dialog_1170x213": elem_dialog(
|
||||
["VALYRIA ZAHLT IN FERRUM, NICHT IN GOLD.",
|
||||
"WAS WOLLT IHR IN GARANA?"], "WACHE", 66),
|
||||
"ui_dialog_gross_1170x321": elem_dialog(
|
||||
["DER HAFEN IST HEUTE NACHT STILL. ZU STILL",
|
||||
"FÜR EINE STADT, DIE NACH SALZ UND EISEN",
|
||||
"RIECHT. DIE LATERNE SCHWINGT, DIE MÖWEN",
|
||||
"SIND FORT, UND DIE FLUT KOMMT UNTER DEN",
|
||||
"KAI. ETWAS STIMMT NICHT MIT DEM WASSER,",
|
||||
"UND NIEMAND SAGT, WAS ES IST."],
|
||||
"ALDRIC DER GRAUE", 102),
|
||||
"ui_menu_144x54": elem_menu(),
|
||||
"ui_buttons_192x54": elem_buttons(),
|
||||
"ui_slots_78px": elem_slots(),
|
||||
"ui_window_pack_510x396": elem_pack(),
|
||||
"ui_window_zauber_510x420": elem_spells(),
|
||||
"ui_party_120px": elem_party(party_portraits()),
|
||||
"ui_misc_660x390": elem_misc(),
|
||||
"ui_kampf_leiste_1200x168": elem_combat(),
|
||||
"ui_ladebalken_720x78": elem_loadbar(),
|
||||
"ui_panel_9slice_36px": elem_panel_slice(),
|
||||
}
|
||||
|
||||
|
||||
def vorschau(el: dict[str, Image.Image], out_dir: Path) -> None:
|
||||
"""Bildschirm-Mock: 1920x1080, nur Assets aus final3x."""
|
||||
T, COLS, ROWS = 96, 20, 12
|
||||
rnd = random.Random(5)
|
||||
erde = [Image.open(FINAL3X / "Terrain" / f"boden_erde_{i}_96px.png")
|
||||
.convert("RGBA") for i in (1, 2, 3, 4)]
|
||||
wand = Image.open(FINAL3X / "Terrain/wand_stein_96px.png").convert("RGBA")
|
||||
dach = Image.open(FINAL3X / "Terrain/dach_fachwerk_96px.png").convert("RGBA")
|
||||
gras = Image.open(FINAL3X / "Terrain/battle_gras_96px.png").convert("RGBA")
|
||||
|
||||
grid = [["." for _ in range(COLS)] for _ in range(ROWS)]
|
||||
for x in range(COLS):
|
||||
grid[0][x] = grid[ROWS - 1][x] = "#"
|
||||
for y in range(ROWS):
|
||||
grid[y][0] = grid[y][COLS - 1] = "#"
|
||||
grid[ROWS - 1][9] = "."
|
||||
for (x0, y0, x1, y1) in ((4, 1, 7, 4), (12, 1, 17, 4),
|
||||
(4, 8, 7, 10), (12, 8, 17, 10)):
|
||||
for y in range(y0, y1 + 1):
|
||||
for x in range(x0, x1 + 1):
|
||||
grid[y][x] = "B"
|
||||
for (x, y) in ((6, 4), (14, 4), (6, 8), (14, 8)):
|
||||
grid[y][x] = "D"
|
||||
for y in range(6, 8):
|
||||
for x in range(8, 12):
|
||||
grid[y][x] = "g"
|
||||
|
||||
im = Image.new("RGBA", (COLS * T, ROWS * T))
|
||||
for y in range(ROWS):
|
||||
for x in range(COLS):
|
||||
k = grid[y][x]
|
||||
tile = {".": rnd.choice(erde), "#": wand, "B": dach, "D": dach,
|
||||
"g": gras}[k]
|
||||
im.paste(tile, (x * T, y * T))
|
||||
d = ImageDraw.Draw(im)
|
||||
for y in range(ROWS):
|
||||
for x in range(COLS):
|
||||
if grid[y][x] in "#B":
|
||||
if y + 1 < ROWS and grid[y + 1][x] not in "#B":
|
||||
d.rectangle((x * T, (y + 1) * T, x * T + T - 1,
|
||||
(y + 1) * T + 5), fill=(0, 0, 0, 80))
|
||||
if x + 1 < COLS and grid[y][x + 1] not in "#B":
|
||||
d.rectangle(((x + 1) * T, y * T, (x + 1) * T + 5,
|
||||
y * T + T - 1), fill=(0, 0, 0, 55))
|
||||
|
||||
props = [("brunnen", 2, 6), ("wagen", 7, 5), ("tisch", 9, 6),
|
||||
("fass", 3, 5), ("kiste", 4, 5), ("fass", 18, 5),
|
||||
("grabstein", 17, 2), ("tuer", 6, 4), ("tuer", 14, 4),
|
||||
("tuer", 6, 8), ("tuer", 14, 8)]
|
||||
for name, x, y in props:
|
||||
p = Image.open(FINAL3X / "Objects" / f"objekt_{name}_96px.png")
|
||||
im.alpha_composite(p.convert("RGBA"), (x * T, y * T))
|
||||
npcs = {"dorfbewohner": (2, 2), "dorfbewohnerin": (9, 5),
|
||||
"wache": (10, 10), "haendler": (14, 5), "druide": (2, 9)}
|
||||
for name, (x, y) in npcs.items():
|
||||
p = Image.open(FINAL3X / "NPCs" / f"nsc_{name}_96px.png")
|
||||
im.alpha_composite(p.convert("RGBA"), (x * T, y * T - 24))
|
||||
|
||||
im = im.crop((0, 0, 1920, 1080))
|
||||
|
||||
im.alpha_composite(el["ui_menu_144x54"], (24, 24))
|
||||
party = el["ui_party_120px"]
|
||||
im.alpha_composite(party, (1920 - party.width - 12, 24))
|
||||
dialog = el["ui_dialog_1170x213"]
|
||||
im.alpha_composite(dialog, (24, 1080 - dialog.height - 24))
|
||||
|
||||
out_dir.mkdir(parents=True, exist_ok=True)
|
||||
im.convert("RGB").save(out_dir / "_bildschirm_1920x1080.png")
|
||||
print(f"{out_dir / '_bildschirm_1920x1080.png'}")
|
||||
|
||||
|
||||
def neun_slice(im: Image.Image, size: tuple[int, int],
|
||||
border: int = SLICE) -> Image.Image:
|
||||
"""9-Slice-Vorschau: Ecken bleiben, Kanten und Kern werden gestreckt."""
|
||||
w, h = size
|
||||
b = border
|
||||
w0, h0 = im.size
|
||||
out = Image.new("RGBA", (w, h), (0, 0, 0, 0))
|
||||
for sx, dx in ((0, 0), (w0 - b, w - b)):
|
||||
for sy, dy in ((0, 0), (h0 - b, h - b)):
|
||||
out.paste(im.crop((sx, sy, sx + b, sy + b)), (dx, dy))
|
||||
out.paste(im.crop((b, 0, w0 - b, b)).resize((w - 2 * b, b),
|
||||
Image.NEAREST), (b, 0))
|
||||
out.paste(im.crop((b, h0 - b, w0 - b, h0)).resize((w - 2 * b, b),
|
||||
Image.NEAREST), (b, h - b))
|
||||
out.paste(im.crop((0, b, b, h0 - b)).resize((b, h - 2 * b),
|
||||
Image.NEAREST), (0, b))
|
||||
out.paste(im.crop((w0 - b, b, w0, h0 - b)).resize((b, h - 2 * b),
|
||||
Image.NEAREST), (w - b, b))
|
||||
out.paste(im.crop((b, b, w0 - b, h0 - b)).resize((w - 2 * b, h - 2 * b),
|
||||
Image.NEAREST), (b, b))
|
||||
return out
|
||||
|
||||
|
||||
def uebersicht(el: dict[str, Image.Image], out_dir: Path) -> None:
|
||||
"""Belegblatt aller Elemente, 1:1, mit Beschriftung."""
|
||||
W = 1920
|
||||
sheet = Image.new("RGBA", (W, 1620), alpha(ui.INK))
|
||||
d = ImageDraw.Draw(sheet)
|
||||
|
||||
def put(name: str, x: int, y: int, label: str | None = None) -> int:
|
||||
UI.draw_text(sheet, x, y - 40, label or name, ui.CREAM_D)
|
||||
sheet.alpha_composite(el[name], (x, y))
|
||||
return y + el[name].height
|
||||
|
||||
put("ui_dialog_1170x213", 48, 90, "dialog 1170x213")
|
||||
put("ui_dialog_gross_1170x321", 48, 360, "dialog gross 1170x321")
|
||||
put("ui_kampf_leiste_1200x168", 48, 740, "kampfleiste 1200x168")
|
||||
put("ui_ladebalken_720x78", 48, 960, "ladebalken 720x78")
|
||||
put("ui_menu_144x54", 48, 1090, "menu 144x54")
|
||||
put("ui_panel_9slice_36px", 400, 1090, "9-slice 36x36 -> 144x108")
|
||||
sheet.alpha_composite(neun_slice(el["ui_panel_9slice_36px"], (144, 108)),
|
||||
(460, 1090))
|
||||
put("ui_misc_660x390", 48, 1200, "misc 660x390")
|
||||
put("ui_buttons_192x54", 1460, 90, "buttons 192x54")
|
||||
put("ui_slots_78px", 1300, 530, "slots 78x78")
|
||||
put("ui_window_zauber_510x420", 1300, 700, "zauberbuch 510x420")
|
||||
put("ui_window_pack_510x396", 1300, 1180, "pack 510x396")
|
||||
out_dir.mkdir(parents=True, exist_ok=True)
|
||||
sheet.convert("RGB").save(out_dir / "_elemente.png")
|
||||
print(f"{out_dir / '_elemente.png'}")
|
||||
|
||||
|
||||
def main(argv=None) -> int:
|
||||
ap = argparse.ArgumentParser(description=__doc__.splitlines()[0])
|
||||
ap.add_argument("--out", type=Path, default=OUT)
|
||||
ap.add_argument("--preview", action="store_true",
|
||||
help="auch Bildschirm-Mock und Elementblatt in prep/ui3/")
|
||||
a = ap.parse_args(argv)
|
||||
|
||||
el = elemente()
|
||||
for name, im in el.items():
|
||||
save(im, a.out, name)
|
||||
save(palette_anchor(), a.out, "_palette_ui")
|
||||
|
||||
if a.preview:
|
||||
vorschau(el, PREP)
|
||||
uebersicht(el, PREP)
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
|
|
@ -1,16 +1,17 @@
|
|||
#!/usr/bin/env python3
|
||||
"""ui_slice.py - 9-Slice-Panel aus ui.py pruefen und als Blatt zeigen.
|
||||
"""ui_slice.py - 9-Slice-Panel pruefen und als Blatt zeigen.
|
||||
|
||||
`tools/ui.py` zeichnet Panels prozedural (`panel()`). Fuer die Engine wird
|
||||
dasselbe als **9-Slice-Textur** ausgeliefert
|
||||
(`final/UI/ui_panel_9slice_12px.png`, Rand 2 px bei 1x), damit ein
|
||||
`NinePatchRect` in Godot jedes Fenster ohne eigene Zeichenroutine fuellt.
|
||||
`tools/ui.py` (640er) und `tools/ui3.py` (1920er) zeichnen Panels prozedural.
|
||||
Fuer die Engine wird dasselbe als **9-Slice-Textur** ausgeliefert
|
||||
(`final3x/UI/ui_panel_9slice_36px.png`, Rand 6 px) und in Godot von einem
|
||||
`NinePatchRect` gestreckt.
|
||||
|
||||
Dieses Werkzeug beweist, dass die Textur stimmt: es setzt Panels aus den neun
|
||||
Teilen zusammen und vergleicht sie Pixel fuer Pixel mit `panel()`.
|
||||
|
||||
python3 tools/ui_slice.py # pruefen + Blatt nach prep/ui-slice/
|
||||
python3 tools/ui_slice.py --check # nur pruefen (Exit 1 bei Abweichung)
|
||||
python3 tools/ui_slice.py # 1920er-Satz pruefen + Blatt
|
||||
python3 tools/ui_slice.py --basis 640 # alte 640er-Fassung
|
||||
python3 tools/ui_slice.py --check # nur pruefen (Exit 1)
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
|
|
@ -23,17 +24,40 @@ from PIL import Image, ImageDraw
|
|||
ART = Path(__file__).resolve().parent.parent
|
||||
sys.path.insert(0, str(ART / "tools"))
|
||||
import ui # noqa: E402
|
||||
import ui3 # noqa: E402
|
||||
|
||||
M = ui.PANEL_SLICE
|
||||
# Groessen aus docs/ui.md: Dialog, Kampf-Log, Handelsfenster, Leiste, Minimum
|
||||
GROESSEN = [(4, 4), (12, 12), (24, 16), (170, 132), (228, 56), (390, 71),
|
||||
(400, 56)]
|
||||
# Groessen aus docs/ui.md; Minimum = 2 x Rand.
|
||||
BASIS = {
|
||||
"1920": {
|
||||
"mod": ui3,
|
||||
"rand": 6,
|
||||
"textur": ui3.elem_panel_slice(36),
|
||||
"groessen": [(12, 12), (36, 36), (72, 48), (510, 396), (684, 168),
|
||||
(1170, 213), (1200, 168)],
|
||||
"out": ART / "prep" / "ui3",
|
||||
"blatt": "_panel_probe_1200x620.png",
|
||||
"titel": "9-SLICE PANEL 3X - GEGENPROBE",
|
||||
"zeilen": [("510x96", 510, 96), ("684x168", 684, 168),
|
||||
("1170x213", 1170, 213)],
|
||||
},
|
||||
"640": {
|
||||
"mod": ui,
|
||||
"rand": 2,
|
||||
"textur": ui.elem_panel_slice(),
|
||||
"groessen": [(4, 4), (12, 12), (24, 16), (170, 132), (228, 56),
|
||||
(390, 71), (400, 56)],
|
||||
"out": ART / "prep" / "ui-slice",
|
||||
"blatt": "_panel_probe_420x212.png",
|
||||
"titel": "9-SLICE PANEL - GEGENPROBE",
|
||||
"zeilen": [("390x71", 390, 71), ("228x56", 228, 56),
|
||||
("170x52", 170, 52)],
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
def neun(textur: Image.Image, w: int, h: int) -> Image.Image:
|
||||
def neun(textur: Image.Image, w: int, h: int, m: int) -> Image.Image:
|
||||
"""Panel aus neun Teilen bauen, wie ein NinePatchRect es tut (nearest)."""
|
||||
s = textur.width
|
||||
m = M
|
||||
out = Image.new("RGBA", (w, h), (0, 0, 0, 0))
|
||||
wm, hm = w - 2 * m, h - 2 * m
|
||||
|
||||
|
|
@ -43,7 +67,6 @@ def neun(textur: Image.Image, w: int, h: int) -> Image.Image:
|
|||
teil = teil.resize(ziel, Image.NEAREST)
|
||||
out.paste(teil, ziel_box)
|
||||
|
||||
# Ecken bleiben 1:1
|
||||
out.paste(textur.crop((0, 0, m, m)), (0, 0))
|
||||
out.paste(textur.crop((s - m, 0, s, m)), (w - m, 0))
|
||||
out.paste(textur.crop((0, s - m, m, s)), (0, h - m))
|
||||
|
|
@ -59,52 +82,64 @@ def neun(textur: Image.Image, w: int, h: int) -> Image.Image:
|
|||
return out
|
||||
|
||||
|
||||
def soll(w: int, h: int) -> Image.Image:
|
||||
def soll(mod, w: int, h: int) -> Image.Image:
|
||||
im = Image.new("RGBA", (w, h), (0, 0, 0, 0))
|
||||
ui.panel(ImageDraw.Draw(im), (0, 0, w - 1, h - 1))
|
||||
mod.panel(ImageDraw.Draw(im), (0, 0, w - 1, h - 1))
|
||||
return im
|
||||
|
||||
|
||||
def main(argv: list[str] | None = None) -> int:
|
||||
ap = argparse.ArgumentParser(description=__doc__.splitlines()[0])
|
||||
ap.add_argument("--basis", choices=sorted(BASIS), default="1920")
|
||||
ap.add_argument("--check", action="store_true", help="nur pruefen, kein Blatt")
|
||||
a = ap.parse_args(argv)
|
||||
b = BASIS[a.basis]
|
||||
mod, m, textur = b["mod"], b["rand"], b["textur"]
|
||||
|
||||
textur = ui.elem_panel_slice()
|
||||
fehler = []
|
||||
for w, h in GROESSEN:
|
||||
ist, ref = neun(textur, w, h), soll(w, h)
|
||||
for w, h in b["groessen"]:
|
||||
ist, ref = neun(textur, w, h, m), soll(mod, w, h)
|
||||
gleich = ist.tobytes() == ref.tobytes()
|
||||
print(f" {w:4d}x{h:<4d} {'pixelgleich' if gleich else 'ABWEICHUNG'}")
|
||||
if not gleich:
|
||||
fehler.append(f"{w}x{h}")
|
||||
|
||||
if not a.check:
|
||||
blatt = Image.new("RGBA", (420, 212), (24, 20, 17, 255))
|
||||
d = ImageDraw.Draw(blatt)
|
||||
ui.draw_text(d, 6, 4, "9-SLICE PANEL - GEGENPROBE", ui.OCHRE)
|
||||
|
||||
# Reihe 1: die breite Dialogbox, Reihe 2: Log und Handelsfenster
|
||||
ui.draw_text(d, 6, 16, "390x71", ui.CREAM_D)
|
||||
blatt.alpha_composite(neun(textur, 390, 71), (6, 28))
|
||||
ui.draw_text(d, 6, 103, "228x56", ui.CREAM_D)
|
||||
blatt.alpha_composite(neun(textur, 228, 56), (6, 115))
|
||||
ui.draw_text(d, 242, 103, "170x52", ui.CREAM_D)
|
||||
blatt.alpha_composite(neun(textur, 170, 52), (242, 115))
|
||||
|
||||
ui.draw_text(d, 6, 178, f"TEXTUR {textur.width}x{textur.height}, RAND {M} PX (1X)",
|
||||
ui.CREAM)
|
||||
ui.draw_text(d, 6, 194, "GODOT: NINEPATCHRECT, MARGIN 2 (1X) / 4 (2X)",
|
||||
ui.CREAM_D)
|
||||
out = ART / "prep" / "ui-slice"
|
||||
if a.basis == "1920":
|
||||
blatt = Image.new("RGBA", (1200, 620), (92, 82, 70, 255))
|
||||
d = ImageDraw.Draw(blatt)
|
||||
ui3.UI.draw_text(blatt, 12, 8, b["titel"], ui.CREAM)
|
||||
y = 50
|
||||
for label, w, h in b["zeilen"]:
|
||||
ui3.UI.draw_text(blatt, 12, y, label, ui.CREAM)
|
||||
blatt.alpha_composite(neun(textur, w, h, m), (12, y + 30))
|
||||
y += h + 80
|
||||
ui3.UI.draw_text(blatt, 12, 590, "TEXTUR 36x36, RAND 6 PX (1:1)",
|
||||
ui.CREAM_D)
|
||||
else:
|
||||
blatt = Image.new("RGBA", (420, 212), (24, 20, 17, 255))
|
||||
d = ImageDraw.Draw(blatt)
|
||||
ui.draw_text(d, 6, 4, b["titel"], ui.OCHRE)
|
||||
ui.draw_text(d, 6, 16, "390x71", ui.CREAM_D)
|
||||
blatt.alpha_composite(neun(textur, 390, 71, m), (6, 28))
|
||||
ui.draw_text(d, 6, 103, "228x56", ui.CREAM_D)
|
||||
blatt.alpha_composite(neun(textur, 228, 56, m), (6, 115))
|
||||
ui.draw_text(d, 242, 103, "170x52", ui.CREAM_D)
|
||||
blatt.alpha_composite(neun(textur, 170, 52, m), (242, 115))
|
||||
ui.draw_text(d, 6, 178,
|
||||
f"TEXTUR {textur.width}x{textur.height}, RAND {m} PX (1X)",
|
||||
ui.CREAM)
|
||||
ui.draw_text(d, 6, 194,
|
||||
"GODOT: NINEPATCHRECT, MARGIN 2 (1X) / 4 (2X)",
|
||||
ui.CREAM_D)
|
||||
out = b["out"]
|
||||
out.mkdir(parents=True, exist_ok=True)
|
||||
blatt.save(out / "_panel_probe_420x212.png")
|
||||
blatt.resize((840, 424), Image.NEAREST).save(
|
||||
out / "_panel_probe_840x424.png")
|
||||
print(f"{out}/_panel_probe_420x212.png (+2x)")
|
||||
blatt.save(out / b["blatt"])
|
||||
print(f"{out / b['blatt']}")
|
||||
|
||||
if fehler:
|
||||
print(f"\n{len(fehler)} Abweichungen: {', '.join(fehler)}", file=sys.stderr)
|
||||
print(f"\n{len(fehler)} Abweichungen: {', '.join(fehler)}",
|
||||
file=sys.stderr)
|
||||
return 1
|
||||
print("\nAlle Groessen pixelgleich.")
|
||||
return 0
|
||||
|
|
|
|||