2020-07-17 19:18:59 -05:00
|
|
|
[gd_scene load_steps=5 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://ui/PlayerStats.gd" type="Script" id=1]
|
2020-07-18 00:07:44 -05:00
|
|
|
[ext_resource path="res://ui/Player UI Frame 2.png" type="Texture" id=2]
|
2020-07-17 19:18:59 -05:00
|
|
|
[ext_resource path="res://ui/Hearts.png" type="Texture" id=3]
|
|
|
|
[ext_resource path="res://ui/Energy.png" type="Texture" id=4]
|
|
|
|
|
|
|
|
[node name="Stats" type="CanvasLayer"]
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
2020-07-18 00:07:44 -05:00
|
|
|
[node name="Regen" type="Timer" parent="."]
|
|
|
|
wait_time = 0.5
|
|
|
|
one_shot = true
|
|
|
|
|
|
|
|
[node name="Player UI Frame 2" type="Sprite" parent="."]
|
|
|
|
position = Vector2( 160, 170 )
|
2020-07-17 19:18:59 -05:00
|
|
|
texture = ExtResource( 2 )
|
|
|
|
|
2020-07-18 00:07:44 -05:00
|
|
|
[node name="Hearts" type="TextureProgress" parent="Player UI Frame 2"]
|
|
|
|
margin_left = -47.0
|
2020-07-17 19:18:59 -05:00
|
|
|
margin_top = -6.0
|
|
|
|
margin_bottom = 6.0
|
|
|
|
max_value = 3.0
|
|
|
|
step = 0.5
|
|
|
|
value = 3.0
|
|
|
|
texture_progress = ExtResource( 3 )
|
2020-07-18 00:07:44 -05:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-07-17 19:18:59 -05:00
|
|
|
|
2020-07-18 00:07:44 -05:00
|
|
|
[node name="Energy" type="TextureProgress" parent="Player UI Frame 2"]
|
|
|
|
margin_left = 4.0
|
|
|
|
margin_top = -4.99998
|
|
|
|
margin_right = 42.0
|
|
|
|
margin_bottom = 4.00002
|
2020-07-17 19:18:59 -05:00
|
|
|
max_value = 5.0
|
2020-07-18 00:07:44 -05:00
|
|
|
step = 1.0
|
|
|
|
value = 5.0
|
2020-07-17 19:18:59 -05:00
|
|
|
texture_progress = ExtResource( 4 )
|
2020-07-18 00:07:44 -05:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-07-17 19:18:59 -05:00
|
|
|
[connection signal="timeout" from="Regen" to="." method="_on_Regen_timeout"]
|