more hud work

This commit is contained in:
derek
2024-12-13 15:20:17 -06:00
parent 9bb5332ba6
commit ec75bffb70
29 changed files with 178 additions and 81 deletions

View File

@@ -23,6 +23,8 @@ bg_color = Color(1, 1, 1, 0.498039)
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_ytfhs"]
[node name="HUD" type="Control"]
light_mask = 2
visibility_layer = 2
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
@@ -38,7 +40,7 @@ anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 44.975
offset_top = -247.09
offset_top = -273.09
offset_right = 244.975
offset_bottom = -142.09
grow_vertical = 0
@@ -136,8 +138,8 @@ anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -584.0
offset_top = -314.0
offset_left = -734.0
offset_top = -372.0
grow_horizontal = 0
grow_vertical = 0
theme = ExtResource("1_22trs")
@@ -152,6 +154,7 @@ size_flags_horizontal = 8
size_flags_vertical = 8
theme = ExtResource("1_22trs")
theme_override_constants/separation = 10
alignment = 2
[node name="Gun Name" type="Label" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
@@ -166,7 +169,7 @@ layout_mode = 2
size_flags_vertical = 3
theme = ExtResource("1_22trs")
theme_override_constants/separation = 50
alignment = 1
alignment = 2
[node name="AmmoCurrent" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2