Files
Embodiment/GUI/HUD.tscn

41 lines
1.1 KiB
Plaintext

[gd_scene load_steps=5 format=2]
[ext_resource path="res://GUI/HUD.gd" type="Script" id=1]
[ext_resource path="res://Sprites/Health_Bar_Under.png" type="Texture" id=2]
[ext_resource path="res://Sprites/Health_Bar_Progress.png" type="Texture" id=3]
[ext_resource path="res://Sprites/Health_Bar_Over.png" type="Texture" id=4]
[node name="HUD" type="CanvasLayer"]
script = ExtResource( 1 )
[node name="Health Bar" type="TextureProgress" parent="."]
margin_right = 104.0
margin_bottom = 18.0
rect_min_size = Vector2( 104, 18 )
texture_under = ExtResource( 2 )
texture_over = ExtResource( 4 )
texture_progress = ExtResource( 3 )
tint_progress = Color( 0.431373, 1, 0.737255, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Currency" type="Label" parent="."]
margin_left = 220.0
margin_right = 320.0
align = 2
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Add Currency" type="Button" parent="."]
margin_left = 300.0
margin_top = 20.0
margin_right = 320.0
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="Add Currency" to="." method="_on_Add_Currency_pressed"]