game: Totenkopf skaliert mit der Gegnergröße

This commit is contained in:
torsten 2026-11-17 16:14:04 +01:00
parent 4dbdf8e623
commit ce95bf3851

View file

@ -714,6 +714,7 @@ func _niederlegen(e: Dictionary) -> void:
kopf.texture = load(kopf_pfad)
kopf.centered = true
kopf.position = _position(e) + Vector2(0, -anzeige * 0.85)
kopf.scale = Vector2.ONE * maxi(1, roundi(anzeige / 144.0))
kopf.texture_filter = CanvasItem.TEXTURE_FILTER_NEAREST
_marken_oben.add_child(kopf)
e["totenkopf"] = kopf