diff --git a/game/player/NamePlate.gd b/game/player/NamePlate.gd index 799c20d..cf346c2 100644 --- a/game/player/NamePlate.gd +++ b/game/player/NamePlate.gd @@ -84,7 +84,7 @@ func _process(delta): var position : Vector2 = entity.get_body().position position.x -= (rect_size.x / 2.0) * rect_scale.x - position.y -= 60 + position.y -= 15 set_position(position) diff --git a/game/ui/nameplates/NamePlate.tscn b/game/ui/nameplates/NamePlate.tscn index 43518ef..f886708 100644 --- a/game/ui/nameplates/NamePlate.tscn +++ b/game/ui/nameplates/NamePlate.tscn @@ -18,7 +18,9 @@ __meta__ = { health_bar_path = NodePath("MarginContainer/TextureProgress") health_bar_label_path = NodePath("MarginContainer/CenterContainer/Label") normal_color = Color( 0.74902, 0.74902, 0.74902, 1 ) -mouseover_scale = Vector2( 0.75, 0.75 ) +normal_scale = Vector2( 0.35, 0.35 ) +mouseover_scale = Vector2( 0.35, 0.35 ) +targeted_scale = Vector2( 0.45, 0.45 ) [node name="Name" type="Label" parent="."] margin_right = 62.0