[gd_scene load_steps=6 format=3 uid="uid://ce2tjyxwaar01"]

[ext_resource type="Script" path="res://Scripts/ui.gd" id="1_pbo7d"]
[ext_resource type="Texture2D" uid="uid://bavf70a0as4yp" path="res://UI/hp_bar_border_bg.png" id="2_puub5"]
[ext_resource type="Texture2D" uid="uid://bastebwa8n686" path="res://UI/hp_bar_border.png" id="3_y0hpc"]
[ext_resource type="Texture2D" uid="uid://btu7bkrjnk3ph" path="res://UI/hp_bar_green.png" id="4_vjleo"]
[ext_resource type="Texture2D" uid="uid://dp8pfpterhtai" path="res://UI/hp_bar_redpng.png" id="5_uk45e"]

[node name="UI" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_pbo7d")

[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 32.0
grow_horizontal = 2
theme_override_constants/margin_left = 16
theme_override_constants/margin_top = 16
theme_override_constants/margin_right = 16

[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
custom_minimum_size = Vector2(0, 16)
layout_mode = 2

[node name="HealthBar" type="TextureProgressBar" parent="MarginContainer/HBoxContainer"]
texture_filter = 1
custom_minimum_size = Vector2(0, 17)
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 0
size_flags_stretch_ratio = 2.0
value = 50.0
nine_patch_stretch = true
stretch_margin_left = 4
stretch_margin_top = 4
stretch_margin_right = 4
stretch_margin_bottom = 4
texture_under = ExtResource("2_puub5")
texture_over = ExtResource("3_y0hpc")
texture_progress = ExtResource("4_vjleo")

[node name="Spacer" type="Control" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 3.5

[node name="EnemyBar" type="TextureProgressBar" parent="MarginContainer/HBoxContainer"]
texture_filter = 1
custom_minimum_size = Vector2(0, 17)
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 0
size_flags_stretch_ratio = 2.0
value = 50.0
nine_patch_stretch = true
stretch_margin_left = 4
stretch_margin_top = 4
stretch_margin_right = 4
stretch_margin_bottom = 4
texture_under = ExtResource("2_puub5")
texture_over = ExtResource("3_y0hpc")
texture_progress = ExtResource("5_uk45e")
