[gd_scene load_steps=14 format=3 uid="uid://odwutyui6q5g"] [ext_resource type="Script" path="res://assets/scenes/health_bar.gd" id="1_pe8px"] [ext_resource type="Texture2D" uid="uid://edktycyiq13w" path="res://assets/textures/health_bar/hbtrue_11.png" id="2_yle5t"] [ext_resource type="Texture2D" uid="uid://ckr4omb8rvtvp" path="res://assets/textures/health_bar/hbtrue_1.png" id="3_m3xml"] [ext_resource type="Texture2D" uid="uid://bpr10h2i0cv0p" path="res://assets/textures/health_bar/hbtrue_2.png" id="4_h2ca5"] [ext_resource type="Texture2D" uid="uid://cpnxe30l1h5cw" path="res://assets/textures/health_bar/hbtrue_3.png" id="5_8w1ew"] [ext_resource type="Texture2D" uid="uid://cd62w1sw7hshn" path="res://assets/textures/health_bar/hbtrue_4.png" id="6_gk8cn"] [ext_resource type="Texture2D" uid="uid://dtp3nhr2t4nt0" path="res://assets/textures/health_bar/hbtrue_5.png" id="7_r24lk"] [ext_resource type="Texture2D" uid="uid://ckhoug16gx6pv" path="res://assets/textures/health_bar/hbtrue_6.png" id="8_74yao"] [ext_resource type="Texture2D" uid="uid://cudelthljkpis" path="res://assets/textures/health_bar/hbtrue_7.png" id="9_rdawm"] [ext_resource type="Texture2D" uid="uid://bnl8kensmvvi1" path="res://assets/textures/health_bar/hbtrue_8.png" id="10_uu6n3"] [ext_resource type="Texture2D" uid="uid://sgp2igmpjfhn" path="res://assets/textures/health_bar/hbtrue_9.png" id="11_721y0"] [ext_resource type="Texture2D" uid="uid://3r50neduuppy" path="res://assets/textures/health_bar/hbtrue_10.png" id="12_ebhj2"] [sub_resource type="SpriteFrames" id="SpriteFrames_mciub"] animations = [{ "frames": [{ "duration": 1.0, "texture": ExtResource("3_m3xml") }, { "duration": 1.0, "texture": ExtResource("4_h2ca5") }, { "duration": 1.0, "texture": ExtResource("5_8w1ew") }, { "duration": 1.0, "texture": ExtResource("6_gk8cn") }, { "duration": 1.0, "texture": ExtResource("7_r24lk") }, { "duration": 1.0, "texture": ExtResource("8_74yao") }, { "duration": 1.0, "texture": ExtResource("9_rdawm") }, { "duration": 1.0, "texture": ExtResource("10_uu6n3") }, { "duration": 1.0, "texture": ExtResource("11_721y0") }, { "duration": 1.0, "texture": ExtResource("12_ebhj2") }], "loop": false, "name": &"default", "speed": 0.0 }] [node name="HealthBar" type="Node2D" groups=["health_bar"]] scale = Vector2(0.5, 0.5) script = ExtResource("1_pe8px") [node name="Background" type="Sprite2D" parent="."] texture = ExtResource("2_yle5t") [node name="Foreground" type="AnimatedSprite2D" parent="."] sprite_frames = SubResource("SpriteFrames_mciub") autoplay = "default" speed_scale = 2.08165e-12 [connection signal="health_changed" from="." to="." method="_on_health_changed" flags=3]