game: Zz nur noch als Label — Marke bleibt neutral, tiefer gesetzt

This commit is contained in:
torsten 2026-11-17 16:16:26 +01:00
parent ce95bf3851
commit 4165c15a5e
15 changed files with 2 additions and 15 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 778 B

After

Width:  |  Height:  |  Size: 686 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB

After

Width:  |  Height:  |  Size: 949 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 666 B

After

Width:  |  Height:  |  Size: 594 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 KiB

After

Width:  |  Height:  |  Size: 150 KiB

Before After
Before After

View file

@ -81,7 +81,7 @@ def marke(groesse: int) -> Image.Image:
def marke_bewusstlos(groesse: int) -> Image.Image:
"""Neutrale Marke für bewusstlose Helden: Staubring und Zz, kein Blut."""
"""Neutrale Marke für bewusstlose Helden: Staubring, kein Blut."""
rnd = random.Random(groesse + 7)
im = Image.new("RGBA", (groesse, groesse), (0, 0, 0, 0))
d = ImageDraw.Draw(im)
@ -99,17 +99,6 @@ def marke_bewusstlos(groesse: int) -> Image.Image:
y = cy + math.sin(a) * dist * 0.62
r = max(1.0, groesse * 0.006 * (1 + rnd.random()))
d.ellipse((x - r, y - r, x + r, y + r), fill=(128, 140, 156, 150))
# Zz
z = groesse * 0.11
lw = max(2, round(groesse * 0.018))
x0, y0 = cx - z * 0.5, cy - z * 0.5
for dx, dy in ((0, 0), (0.26, 0.30)):
ax, ay = x0 + z * dx, y0 + z * dy
d.line((ax, ay, ax + z * 0.6, ay), fill=(224, 214, 190, 230), width=lw)
d.line((ax + z * 0.6, ay, ax, ay + z * 0.6),
fill=(224, 214, 190, 230), width=lw)
d.line((ax, ay + z * 0.6, ax + z * 0.6, ay + z * 0.6),
fill=(224, 214, 190, 230), width=lw)
return im
@ -118,7 +107,6 @@ def totenkopf(groesse: int = 64) -> Image.Image:
im = Image.new("RGBA", (groesse, groesse), (0, 0, 0, 0))
d = ImageDraw.Draw(im)
c = groesse / 2.0
# gekreuzte Knochen
lw = max(3, round(groesse * 0.075))
for a, b in (((groesse * 0.18, groesse * 0.18),
(groesse * 0.82, groesse * 0.82)),
@ -130,7 +118,6 @@ def totenkopf(groesse: int = 64) -> Image.Image:
r = lw * 1.25
d.ellipse((x - r, y - r, x + r, y + r), fill=(28, 22, 18, 255))
d.ellipse((x - r + 1, y - r + 1, x + r - 1, y + r - 1), fill=KNOCHEN)
# Schädel
r = groesse * 0.20
d.ellipse((c - r - 3, c - r - 3, c + r + 3, c + r + 3),
fill=(28, 22, 18, 255))

Binary file not shown.

Before

Width:  |  Height:  |  Size: 778 B

After

Width:  |  Height:  |  Size: 686 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB

After

Width:  |  Height:  |  Size: 949 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 666 B

After

Width:  |  Height:  |  Size: 594 B

Before After
Before After

View file

@ -689,7 +689,7 @@ func _niederlegen(e: Dictionary) -> void:
if e["team"] == "partei":
var zz := Label.new()
zz.text = "Zz"
zz.position = Vector2(-52, -164)
zz.position = Vector2(-52, -124)
zz.size = Vector2(104, 40)
zz.horizontal_alignment = HORIZONTAL_ALIGNMENT_CENTER
zz.add_theme_color_override("font_color", Color(0.76, 0.84, 0.96))