game: Totenkopf skaliert mit der Gegnergröße
This commit is contained in:
parent
4dbdf8e623
commit
ce95bf3851
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue