55 lines
1.4 KiB
Plaintext
55 lines
1.4 KiB
Plaintext
[gd_scene load_steps=6 format=2]
|
|
|
|
[ext_resource path="res://ui/PlayerStats.gd" type="Script" id=1]
|
|
[ext_resource path="res://ui/Player UI Frame 2.png" type="Texture" id=2]
|
|
[ext_resource path="res://ui/Hearts.png" type="Texture" id=3]
|
|
[ext_resource path="res://ui/Energy.png" type="Texture" id=4]
|
|
[ext_resource path="res://ui/Energy Burnout.png" type="Texture" id=5]
|
|
|
|
[node name="Stats" type="CanvasLayer"]
|
|
script = ExtResource( 1 )
|
|
|
|
[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 )
|
|
texture = ExtResource( 2 )
|
|
|
|
[node name="Hearts" type="TextureProgress" parent="Player UI Frame 2"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = -47.0
|
|
margin_top = -6.0
|
|
margin_right = -106.0
|
|
margin_bottom = -14.0
|
|
max_value = 3.0
|
|
step = 0.5
|
|
value = 3.0
|
|
texture_progress = ExtResource( 3 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Energy" type="TextureProgress" parent="Player UI Frame 2"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 4.0
|
|
margin_top = -5.0
|
|
margin_right = -64.0
|
|
margin_bottom = -16.0
|
|
max_value = 5.0
|
|
value = 5.0
|
|
texture_progress = ExtResource( 4 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Energy Burnout" type="Sprite" parent="Player UI Frame 2"]
|
|
visible = false
|
|
position = Vector2( 23, -1 )
|
|
texture = ExtResource( 5 )
|
|
offset = Vector2( 0, 0.5 )
|
|
[connection signal="timeout" from="Regen" to="." method="_on_Regen_timeout"]
|