2024-08-09 03:43:03 +00:00
|
|
|
[gd_scene load_steps=2 format=3 uid="uid://c7w5sgq0bshk0"]
|
2024-08-08 09:10:48 +00:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://Scripts/UI/HUD.cs" id="1_2iqqk"]
|
|
|
|
|
|
|
|
[node name="Hud" type="Control"]
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
mouse_filter = 2
|
|
|
|
script = ExtResource("1_2iqqk")
|
|
|
|
|
|
|
|
[node name="TopBox" type="HBoxContainer" parent="."]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 16.0
|
|
|
|
offset_top = 16.0
|
|
|
|
offset_right = 1136.0
|
|
|
|
offset_bottom = 32.0
|
|
|
|
theme_override_constants/separation = 16
|
|
|
|
|
|
|
|
[node name="HealthBox" type="VBoxContainer" parent="TopBox"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="TopBox/HealthBox"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Health 100/100"
|
|
|
|
|
|
|
|
[node name="Bar" type="ProgressBar" parent="TopBox/HealthBox"]
|
|
|
|
custom_minimum_size = Vector2(2.08165e-12, 16)
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
2024-08-08 18:20:56 +00:00
|
|
|
max_value = 1.0
|
2024-08-08 09:10:48 +00:00
|
|
|
rounded = true
|
|
|
|
allow_greater = true
|
|
|
|
allow_lesser = true
|
|
|
|
show_percentage = false
|
|
|
|
|
|
|
|
[node name="ActionPointBox" type="VBoxContainer" parent="TopBox"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="TopBox/ActionPointBox"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "AP 20/20"
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
|
|
|
[node name="Bar" type="ProgressBar" parent="TopBox/ActionPointBox"]
|
|
|
|
custom_minimum_size = Vector2(2.08165e-12, 16)
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
2024-08-08 18:20:56 +00:00
|
|
|
max_value = 1.0
|
2024-08-08 09:10:48 +00:00
|
|
|
rounded = true
|
|
|
|
allow_greater = true
|
|
|
|
allow_lesser = true
|
|
|
|
show_percentage = false
|
|
|
|
|
|
|
|
[node name="AmmoBox" type="VBoxContainer" parent="TopBox"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="TopBox/AmmoBox"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Ammo 30/30"
|
|
|
|
horizontal_alignment = 2
|
|
|
|
|
|
|
|
[node name="Bar" type="ProgressBar" parent="TopBox/AmmoBox"]
|
|
|
|
custom_minimum_size = Vector2(2.08165e-12, 16)
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
rounded = true
|
|
|
|
allow_greater = true
|
|
|
|
allow_lesser = true
|
|
|
|
show_percentage = false
|
2024-08-08 15:23:31 +00:00
|
|
|
|
|
|
|
[node name="BottomBox" type="VBoxContainer" parent="."]
|
|
|
|
layout_mode = 0
|
2024-08-09 03:43:03 +00:00
|
|
|
offset_left = 16.0
|
|
|
|
offset_top = 592.0
|
|
|
|
offset_right = 1136.0
|
|
|
|
offset_bottom = 632.0
|
2024-08-08 15:23:31 +00:00
|
|
|
alignment = 2
|
|
|
|
|
2024-08-09 03:43:03 +00:00
|
|
|
[node name="HBox" type="HBoxContainer" parent="BottomBox"]
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
[node name="PositionLabel" type="Label" parent="BottomBox/HBox"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
text = "(0, 0)"
|
|
|
|
|
|
|
|
[node name="RoundLabel" type="Label" parent="BottomBox/HBox"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
text = "Round 1"
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
|
|
|
[node name="RoundSecondLabel" type="Label" parent="BottomBox/HBox"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
text = "60.00"
|
|
|
|
horizontal_alignment = 2
|
|
|
|
|
2024-08-08 15:23:31 +00:00
|
|
|
[node name="ProgressBar" type="ProgressBar" parent="BottomBox"]
|
2024-08-09 03:43:03 +00:00
|
|
|
custom_minimum_size = Vector2(2.08165e-12, 8)
|
2024-08-08 15:23:31 +00:00
|
|
|
layout_mode = 2
|
|
|
|
value = 50.0
|
2024-08-09 03:43:03 +00:00
|
|
|
rounded = true
|
2024-08-08 15:23:31 +00:00
|
|
|
allow_greater = true
|
|
|
|
allow_lesser = true
|
|
|
|
show_percentage = false
|