This repository has been archived on 2022-01-09. You can view files and clone it, but cannot push or open issues/pull-requests.
liblast/Game/Classes/UI/Health.tscn

55 lines
1.4 KiB
Plaintext

[gd_scene load_steps=5 format=2]
[ext_resource path="res://Assets/UI/HealthBarProgress.svg" type="Texture" id=1]
[ext_resource path="res://Assets/UI/HealthBarOver.svg" type="Texture" id=2]
[ext_resource path="res://Assets/UI/HealthBarUnder.svg" type="Texture" id=3]
[ext_resource path="res://Classes/UI/theme.tres" type="Theme" id=4]
[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 )
value = 100.0
texture_under = ExtResource( 3 )
texture_over = ExtResource( 2 )
texture_progress = ExtResource( 1 )
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
theme = ExtResource( 4 )
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}