[gd_scene load_steps=6 format=3 uid="uid://bnlexkofp68gv"] [ext_resource type="Script" uid="uid://co8tfbsod875o" path="res://Scripts/gui.gd" id="1_7s0l7"] [ext_resource type="Texture2D" uid="uid://buafet16thf3p" path="res://Assets/crosshair.png" id="1_mpwvh"] [sub_resource type="LabelSettings" id="LabelSettings_lrnc3"] font_color = Color(1, 0, 0, 1) [sub_resource type="LabelSettings" id="LabelSettings_v7sqr"] font_size = 60 [sub_resource type="LabelSettings" id="LabelSettings_rdkfa"] font_size = 30 font_color = Color(0.662452, 0.662452, 0.662452, 1) [node name="Gui" type="Control" node_paths=PackedStringArray("lose_panel", "lose_label", "reset_label", "start_level", "level_title")] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_7s0l7") lose_panel = NodePath("MarginContainer/PanelContainer") lose_label = NodePath("MarginContainer/PanelContainer/VBoxContainer/LoseText") reset_label = NodePath("MarginContainer/PanelContainer/VBoxContainer/LoseTimer") start_level = NodePath("MarginContainer/StartPanel") level_title = NodePath("MarginContainer/StartPanel/VBoxContainer/LevelTitle") [node name="Label" type="Label" parent="."] visible = false layout_mode = 0 offset_right = 40.0 offset_bottom = 23.0 text = "Time: 10" label_settings = SubResource("LabelSettings_lrnc3") [node name="Crosshair" type="CenterContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="TextureRect" type="TextureRect" parent="Crosshair"] modulate = Color(1, 1, 1, 0.721569) custom_minimum_size = Vector2(20, 20) layout_mode = 2 texture = ExtResource("1_mpwvh") expand_mode = 1 [node name="MarginContainer" type="MarginContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/margin_left = 200 theme_override_constants/margin_top = 150 theme_override_constants/margin_right = 200 theme_override_constants/margin_bottom = 150 [node name="StartPanel" type="PanelContainer" parent="MarginContainer"] layout_mode = 2 [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/StartPanel"] layout_mode = 2 alignment = 1 [node name="LevelTitle" type="Label" parent="MarginContainer/StartPanel/VBoxContainer"] layout_mode = 2 text = "Level Failed" label_settings = SubResource("LabelSettings_v7sqr") horizontal_alignment = 1 [node name="PanelContainer" type="PanelContainer" parent="MarginContainer"] layout_mode = 2 [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/PanelContainer"] layout_mode = 2 alignment = 1 [node name="LoseText" type="Label" parent="MarginContainer/PanelContainer/VBoxContainer"] layout_mode = 2 text = "Level Failed" label_settings = SubResource("LabelSettings_v7sqr") horizontal_alignment = 1 [node name="LoseTimer" type="Label" parent="MarginContainer/PanelContainer/VBoxContainer"] layout_mode = 2 text = "Resetting in: 3.0" label_settings = SubResource("LabelSettings_rdkfa") horizontal_alignment = 1