[gd_scene load_steps=5 format=2] [ext_resource path="res://ui/PlayerStats.gd" type="Script" id=1] [ext_resource path="res://ui/Player UI Frame.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] [node name="Stats" type="CanvasLayer"] script = ExtResource( 1 ) [node name="Player UI Frame" type="Sprite" parent="."] position = Vector2( 160, 171 ) texture = ExtResource( 2 ) [node name="Hearts" type="TextureProgress" parent="Player UI Frame"] margin_left = -45.0 margin_top = -6.0 margin_right = 2.0 margin_bottom = 6.0 max_value = 3.0 step = 0.5 value = 3.0 texture_progress = ExtResource( 3 ) [node name="Energy" type="TextureProgress" parent="Player UI Frame"] margin_left = 6.0 margin_top = -5.0 margin_right = 44.0 margin_bottom = 4.0 max_value = 5.0 texture_progress = ExtResource( 4 ) [node name="Regen" type="Timer" parent="."] wait_time = 0.5 one_shot = true [connection signal="timeout" from="Regen" to="." method="_on_Regen_timeout"]