the-crypt/ui/PlayerStats.tscn

55 lines
1.5 KiB
Plaintext
Raw Normal View History

2020-07-19 19:15:43 -05:00
[gd_scene load_steps=6 format=2]
2020-07-17 19:18:59 -05:00
2020-07-22 00:41:29 -05:00
[ext_resource path="res://Player/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]
2020-07-19 19:15:43 -05:00
[ext_resource path="res://ui/Energy Burnout.png" type="Texture" id=5]
2020-07-17 19:18:59 -05:00
[node name="Stats" type="CanvasLayer"]
script = ExtResource( 1 )
2020-07-18 00:07:44 -05:00
[node name="Regen" type="Timer" parent="."]
2020-07-20 16:36:28 -05:00
wait_time = 0.2
2020-07-18 00:07:44 -05:00
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"]
2020-07-18 11:02:40 -05:00
anchor_right = 1.0
anchor_bottom = 1.0
2020-07-18 00:07:44 -05:00
margin_left = -47.0
2020-07-17 19:18:59 -05:00
margin_top = -6.0
2020-07-18 11:02:40 -05:00
margin_right = -106.0
margin_bottom = -14.0
2020-07-17 19:18:59 -05:00
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"]
2020-07-18 11:02:40 -05:00
anchor_right = 1.0
anchor_bottom = 1.0
2020-07-18 00:07:44 -05:00
margin_left = 4.0
2020-07-19 19:15:43 -05:00
margin_top = -5.0
2020-07-18 11:02:40 -05:00
margin_right = -64.0
margin_bottom = -16.0
2020-07-23 15:25:33 -05:00
max_value = 12.0
value = 12.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-19 19:15:43 -05:00
[node name="Energy Burnout" type="Sprite" parent="Player UI Frame 2"]
2020-07-19 19:57:34 -05:00
visible = false
2020-07-19 19:15:43 -05:00
position = Vector2( 23, -1 )
texture = ExtResource( 5 )
offset = Vector2( 0, 0.5 )
2020-07-17 19:18:59 -05:00
[connection signal="timeout" from="Regen" to="." method="_on_Regen_timeout"]