[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 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] [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"] margin_left = -47.0 margin_top = -6.0 margin_bottom = 6.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"] margin_left = 4.0 margin_top = -4.99998 margin_right = 42.0 margin_bottom = 4.00002 max_value = 5.0 step = 1.0 value = 5.0 texture_progress = ExtResource( 4 ) __meta__ = { "_edit_use_anchors_": false } [connection signal="timeout" from="Regen" to="." method="_on_Regen_timeout"]