53 lines
1.3 KiB
Text
53 lines
1.3 KiB
Text
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://Assets/HUD/HealthBarOver.svg" type="Texture" id=1]
|
|
[ext_resource path="res://Assets/HUD/HealthBarUnder.svg" type="Texture" id=2]
|
|
[ext_resource path="res://Assets/HUD/HealthBarProgress.svg" type="Texture" id=3]
|
|
|
|
[node name="Health" type="MarginContainer"]
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 32.0
|
|
margin_top = -50.0
|
|
margin_right = 148.0
|
|
margin_bottom = -32.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="HealthBar" type="TextureProgress" parent="."]
|
|
margin_right = 150.0
|
|
margin_bottom = 50.0
|
|
rect_min_size = Vector2( 150, 50 )
|
|
max_value = 150.0
|
|
value = 150.0
|
|
texture_under = ExtResource( 2 )
|
|
texture_over = ExtResource( 1 )
|
|
texture_progress = ExtResource( 3 )
|
|
tint_under = Color( 0, 0, 0, 0.0980392 )
|
|
tint_progress = Color( 0, 1, 1.2, 0.75 )
|
|
nine_patch_stretch = true
|
|
stretch_margin_left = 25
|
|
stretch_margin_top = 25
|
|
stretch_margin_right = 25
|
|
stretch_margin_bottom = 25
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="HealthText" type="Label" parent="HealthBar"]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -80.0
|
|
margin_top = -24.5
|
|
margin_right = 80.0
|
|
margin_bottom = 24.5
|
|
align = 1
|
|
valign = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|