mirror of
https://github.com/Relintai/rsc_rpg.git
synced 2025-04-22 05:51:17 +02:00
Fix nameplate size and position.
This commit is contained in:
parent
e259a65281
commit
1670b64738
@ -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)
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user