This commit is contained in:
leca 2024-02-28 14:18:14 +03:00
parent fcf3740f58
commit c0be7e285d
2 changed files with 2 additions and 96 deletions

View File

@ -1,96 +1 @@
[gd_scene load_steps=7 format=3 uid="uid://gxfhitfre2fj"]
[ext_resource type="Texture2D" uid="uid://vnk3r1p4ao3n" path="res://textures/prototype-textures/Prototype_symbol_cross_32x32px.png" id="1_g1v70"]
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_mhtpk"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_oe47i"]
bg_color = Color(0, 0, 0, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tw7o5"]
bg_color = Color(0.882353, 0, 0.0627451, 1)
[sub_resource type="Theme" id="Theme_xwpjm"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mkhl7"]
texture = ExtResource("1_g1v70")
[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
metadata/_edit_use_anchors_ = true
[node name="HealthBar" type="ProgressBar" parent="."]
material = SubResource("CanvasItemMaterial_mhtpk")
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -27.0
offset_right = 246.544
grow_vertical = 0
theme_override_styles/background = SubResource("StyleBoxFlat_oe47i")
theme_override_styles/fill = SubResource("StyleBoxFlat_tw7o5")
value = 50.0
[node name="Control" type="Control" parent="."]
z_index = -10
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="Panel" type="Panel" parent="Control"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -6.0
offset_top = -6.0
offset_right = 6.0
offset_bottom = 6.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
theme = SubResource("Theme_xwpjm")
theme_override_styles/panel = SubResource("StyleBoxTexture_mkhl7")
[node name="AmmoDisplay" type="Control" parent="."]
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="Ammo" type="Label" parent="AmmoDisplay"]
layout_mode = 0
offset_right = 40.0
offset_bottom = 23.0
text = "Ammo: "
[node name="Magazine" type="Label" parent="AmmoDisplay"]
layout_mode = 0
offset_top = 23.0
offset_right = 40.0
offset_bottom = 46.0
text = "Magazine:"
[node name="Status" type="Label" 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 = -23.0
grow_horizontal = 0
grow_vertical = 0
[gd_scene load_steps=7 format=3 uid="uid://gxfhitfre2fj"] [ext_resource type="Texture2D" uid="uid://vnk3r1p4ao3n" path="res://textures/prototype-textures/Prototype_symbol_cross_32x32px.png" id="1_g1v70"] [sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_mhtpk"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_oe47i"] bg_color = Color(0, 0, 0, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tw7o5"] bg_color = Color(0.882353, 0, 0.0627451, 1) [sub_resource type="Theme" id="Theme_xwpjm"] [sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mkhl7"] texture = ExtResource("1_g1v70") [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 metadata/_edit_use_anchors_ = true [node name="HealthBar" type="ProgressBar" parent="."] material = SubResource("CanvasItemMaterial_mhtpk") layout_mode = 1 anchors_preset = 2 anchor_top = 1.0 anchor_bottom = 1.0 offset_top = -27.0 offset_right = 246.544 grow_vertical = 0 theme_override_styles/background = SubResource("StyleBoxFlat_oe47i") theme_override_styles/fill = SubResource("StyleBoxFlat_tw7o5") value = 50.0 [node name="Control" type="Control" parent="."] z_index = -10 layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 [node name="Panel" type="Panel" parent="Control"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -6.0 offset_top = -6.0 offset_right = 6.0 offset_bottom = 6.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 theme = SubResource("Theme_xwpjm") theme_override_styles/panel = SubResource("StyleBoxTexture_mkhl7") [node name="AmmoDisplay" type="Control" parent="."] anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="Ammo" type="Label" parent="AmmoDisplay"] layout_mode = 0 offset_right = 40.0 offset_bottom = 23.0 text = "Ammo: " [node name="Magazine" type="Label" parent="AmmoDisplay"] layout_mode = 0 offset_top = 23.0 offset_right = 40.0 offset_bottom = 46.0 text = "Magazine:" [node name="Status" type="Label" 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 = -23.0 grow_horizontal = 0 grow_vertical = 0

View File

@ -170,3 +170,4 @@ offset_right = 152.0
offset_bottom = 120.0
text = "Set"
script = ExtResource("2_5xejq")