[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="Texture2D" uid="uid://bwl5sqoq7acfv" path="res://assets/UI/0.5x/Stamina_v2@0.5x.png" id="2_jj8dm"] [ext_resource type="Texture2D" uid="uid://mcay8s80071h" path="res://assets/UI/Crosshair/SVG/Reticle 1_svg.svg" id="3_tmj0x"] [ext_resource type="Script" path="res://scripts/UIScreenAdjust.gd" id="4_lbnof"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2hn4h"] bg_color = Color(0, 0, 0, 0.25098) expand_margin_left = 2.0 expand_margin_top = 2.0 expand_margin_right = 2.0 expand_margin_bottom = 2.0 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_axtce"] bg_color = Color(0.898526, 0, 0.204086, 1) [sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_ytfhs"] blend_mode = 1 [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") [node name="LeftMargin" type="MarginContainer" parent="."] layout_mode = 1 anchors_preset = 2 anchor_top = 1.0 anchor_bottom = 1.0 offset_top = -40.0 offset_right = 200.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="HealthBar" type="ProgressBar" parent="LeftMargin"] custom_minimum_size = Vector2(200, 25) layout_mode = 2 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="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 = -24.5 offset_top = -24.5 offset_right = 24.5 offset_bottom = 24.5 grow_horizontal = 2 grow_vertical = 2 value = 100.0 fill_mode = 5 texture_progress = ExtResource("2_jj8dm") [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") script = ExtResource("4_lbnof") [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 = -40.0 offset_top = -40.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 theme = ExtResource("1_22trs") [node name="Gun Name" type="Label" parent="MarginContainer/VBoxContainer"] layout_mode = 2 theme = ExtResource("1_22trs") text = "Gun Name" horizontal_alignment = 2 [node name="Ammo" type="Label" parent="MarginContainer/VBoxContainer"] layout_mode = 2 theme = ExtResource("1_22trs") text = "XX - XX" horizontal_alignment = 1