177 lines
4.9 KiB
Plaintext
177 lines
4.9 KiB
Plaintext
[gd_scene load_steps=9 format=3 uid="uid://br882tlh3cfwu"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/hud.gd" id="1_7hukm"]
|
|
[ext_resource type="Theme" uid="uid://clek42ofxr45f" path="res://DefaultTheme.tres" id="1_22trs"]
|
|
[ext_resource type="Theme" uid="uid://buma708jpxqrn" path="res://Clean_theme.tres" id="2_eqnx7"]
|
|
[ext_resource type="Texture2D" uid="uid://b8r7mp1r4xqv1" path="res://assets/UI/Edit Files/0.5x/Stamina_White@0.5x.png" id="3_2injg"]
|
|
[ext_resource type="Texture2D" uid="uid://mcay8s80071h" path="res://assets/UI/Crosshair/SVG/Reticle 1_svg.svg" id="3_tmj0x"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2hn4h"]
|
|
bg_color = Color(1, 1, 1, 0.129412)
|
|
corner_radius_top_left = 5
|
|
corner_radius_top_right = 5
|
|
corner_radius_bottom_right = 5
|
|
corner_radius_bottom_left = 5
|
|
expand_margin_left = 10.0
|
|
expand_margin_top = 10.0
|
|
expand_margin_right = 10.0
|
|
expand_margin_bottom = 10.0
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_axtce"]
|
|
bg_color = Color(1, 1, 1, 0.498039)
|
|
|
|
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_ytfhs"]
|
|
|
|
[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
|
|
script = ExtResource("1_7hukm")
|
|
radial_stamina = true
|
|
|
|
[node name="Money" type="Label" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 2
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 44.975
|
|
offset_top = -247.09
|
|
offset_right = 244.975
|
|
offset_bottom = -142.09
|
|
grow_vertical = 0
|
|
theme = ExtResource("2_eqnx7")
|
|
theme_type_variation = &"TextShadow"
|
|
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
|
theme_override_font_sizes/font_size = 80
|
|
text = "$"
|
|
|
|
[node name="HealthBar" type="ProgressBar" parent="."]
|
|
custom_minimum_size = Vector2(300, 50)
|
|
layout_mode = 1
|
|
anchors_preset = 2
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 50.38
|
|
offset_top = -105.315
|
|
offset_right = 350.38
|
|
offset_bottom = -55.315
|
|
grow_vertical = 0
|
|
theme = ExtResource("1_22trs")
|
|
theme_override_styles/background = SubResource("StyleBoxFlat_2hn4h")
|
|
theme_override_styles/fill = SubResource("StyleBoxFlat_axtce")
|
|
value = 30.45
|
|
show_percentage = false
|
|
|
|
[node name="LeftMargin" type="MarginContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 2
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = -125.0
|
|
offset_right = 300.0
|
|
grow_vertical = 0
|
|
theme_override_constants/margin_left = 50
|
|
theme_override_constants/margin_top = 50
|
|
theme_override_constants/margin_right = 50
|
|
theme_override_constants/margin_bottom = 50
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="LeftMargin"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 10
|
|
|
|
[node name="StaminaBar2" type="ProgressBar" parent="."]
|
|
custom_minimum_size = Vector2(30, 10)
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = 50.0
|
|
offset_top = 27.0
|
|
offset_right = 105.0
|
|
offset_bottom = 37.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
rotation = -1.5708
|
|
theme = ExtResource("1_22trs")
|
|
theme_override_styles/background = SubResource("StyleBoxFlat_2hn4h")
|
|
theme_override_styles/fill = SubResource("StyleBoxFlat_axtce")
|
|
value = 35.29
|
|
show_percentage = false
|
|
|
|
[node name="Crosshair" type="TextureRect" parent="." groups=["hud"]]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -20.0
|
|
offset_top = -20.0
|
|
offset_right = 20.0
|
|
offset_bottom = 20.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
texture = ExtResource("3_tmj0x")
|
|
|
|
[node name="StaminaBar" type="TextureProgressBar" parent="."]
|
|
material = SubResource("CanvasItemMaterial_ytfhs")
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -23.5
|
|
offset_top = -23.5
|
|
offset_right = 23.5
|
|
offset_bottom = 23.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
value = 49.0
|
|
fill_mode = 5
|
|
texture_progress = ExtResource("3_2injg")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 3
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -584.0
|
|
offset_top = -314.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
theme = ExtResource("1_22trs")
|
|
theme_override_constants/margin_left = 50
|
|
theme_override_constants/margin_top = 50
|
|
theme_override_constants/margin_right = 50
|
|
theme_override_constants/margin_bottom = 50
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
theme = ExtResource("1_22trs")
|
|
theme_override_constants/separation = 10
|
|
|
|
[node name="Gun Name" type="Label" parent="MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme = ExtResource("2_eqnx7")
|
|
theme_type_variation = &"TextShadow"
|
|
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
|
text = "Gun Name"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="Ammo" type="Label" parent="MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme = ExtResource("2_eqnx7")
|
|
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
|
text = "XX - XX"
|
|
horizontal_alignment = 2
|