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

[ext_resource type="Script" path="res://Scripts/ui.gd" id="1_pbo7d"]

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3rm2j"]
bg_color = Color(0.12549, 0.72549, 0, 1)

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_688ss"]
bg_color = Color(1, 0.25098, 0.262745, 1)

[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="ProgressBar" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 1
size_flags_stretch_ratio = 2.0
theme_override_styles/fill = SubResource("StyleBoxFlat_3rm2j")
step = 1.0
value = 50.0
show_percentage = false

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

[node name="EnemyBar" type="ProgressBar" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 1
size_flags_stretch_ratio = 2.0
theme_override_styles/fill = SubResource("StyleBoxFlat_688ss")
step = 1.0
value = 13.0
show_percentage = false
