Fix HP bar seemingly empty when at 1 HP
This commit is contained in:
parent
10d5802064
commit
9df204b5ca
2 changed files with 10 additions and 2 deletions
|
@ -31,7 +31,7 @@ layout_mode = 2
|
|||
|
||||
[node name="HealthBar" type="TextureProgressBar" parent="MarginContainer/HBoxContainer"]
|
||||
texture_filter = 1
|
||||
custom_minimum_size = Vector2(0, 15)
|
||||
custom_minimum_size = Vector2(0, 17)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 0
|
||||
|
@ -53,7 +53,7 @@ size_flags_stretch_ratio = 3.5
|
|||
|
||||
[node name="EnemyBar" type="TextureProgressBar" parent="MarginContainer/HBoxContainer"]
|
||||
texture_filter = 1
|
||||
custom_minimum_size = Vector2(0, 15)
|
||||
custom_minimum_size = Vector2(0, 17)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 0
|
||||
|
|
|
@ -186,6 +186,10 @@ layout_mode = 1
|
|||
anchors_preset = -1
|
||||
anchor_right = 0.286
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -13.0
|
||||
offset_top = -6.0
|
||||
offset_right = 6.07999
|
||||
offset_bottom = 12.0
|
||||
grow_vertical = 0
|
||||
texture = ExtResource("3_cbor4")
|
||||
expand_mode = 1
|
||||
|
@ -273,6 +277,10 @@ anchors_preset = -1
|
|||
anchor_left = 0.65
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 6.00003
|
||||
offset_top = -6.0
|
||||
offset_right = -13.0
|
||||
offset_bottom = 12.0
|
||||
grow_vertical = 0
|
||||
texture = ExtResource("3_cbor4")
|
||||
expand_mode = 1
|
||||
|
|
Loading…
Reference in a new issue