[gd_scene load_steps=28 format=2] [ext_resource path="res://src/UserInterface/Screens/MainMenu/ControlsMenu/SaveButton.gd" type="Script" id=1] [ext_resource path="res://src/UserInterface/Screens/MainMenu/ControlsMenu/SavedCheckBackButton.gd" type="Script" id=2] [ext_resource path="res://src/UserInterface/Screens/MainMenu/ControlsMenu/KeySelectMenu.gd" type="Script" id=3] [ext_resource path="res://src/UserInterface/Screens/MainMenu/ControlsMenu/SaveAndQuitButton.gd" type="Script" id=4] [ext_resource path="res://src/UserInterface/Screens/MainMenu/ControlsMenu/ControlsMenu.gd" type="Script" id=5] [ext_resource path="res://src/UserInterface/Screens/MainMenu/ControlsMenu/ReallyQuitMenu.gd" type="Script" id=6] [ext_resource path="res://src/Utilities/SignalManager.tscn" type="PackedScene" id=7] [ext_resource path="res://src/UserInterface/Buttons/AudibleButton.gd" type="Script" id=8] [ext_resource path="res://assets/environment/background/Spaceship-Wall-Menu.png" type="Texture" id=9] [ext_resource path="res://assets/environment/background/starry-space.png" type="Texture" id=10] [ext_resource path="res://assets/ui/Screenshot 2023-05-23 160521.png" type="Texture" id=12] [ext_resource path="res://src/UserInterface/Screens/MainMenu/ControlsMenu/ProfilesMenu.gd" type="Script" id=13] [ext_resource path="res://src/UserInterface/Screens/MainMenu/ControlsMenu/ActionKeyList.gd" type="Script" id=14] [ext_resource path="res://src/UserInterface/Screens/MainMenu/ControlsMenu/InputMapper.gd" type="Script" id=15] [ext_resource path="res://src/UserInterface/Screens/MainMenu/ControlsMenu/Reset.gd" type="Script" id=16] [ext_resource path="res://assets/effects/transparency.gdshader" type="Shader" id=17] [ext_resource path="res://assets/meta/montserrat_extrabold.otf" type="DynamicFontData" id=18] [ext_resource path="res://src/UserInterface/Buttons/MenuNavigationButton.gd" type="Script" id=19] [ext_resource path="res://assets/ui/sci-fi-godot-theme/sci-fi-theme.tres" type="Theme" id=20] [ext_resource path="res://assets/ui/fonts/Kenney Thick.ttf" type="DynamicFontData" id=21] [ext_resource path="res://assets/ui/fonts/kenny_thick.tres" type="DynamicFont" id=22] [sub_resource type="DynamicFont" id=1] size = 42 font_data = ExtResource( 18 ) [sub_resource type="ShaderMaterial" id=6] shader = ExtResource( 17 ) shader_param/transparency = 0.1 [sub_resource type="DynamicFont" id=9] size = 8 font_data = ExtResource( 21 ) [sub_resource type="ShaderMaterial" id=8] shader = ExtResource( 17 ) shader_param/transparency = 0.778 [sub_resource type="DynamicFont" id=7] size = 20 font_data = ExtResource( 18 ) [sub_resource type="DynamicFont" id=10] size = 8 font_data = ExtResource( 21 ) [node name="ControlsMenu" type="Control"] pause_mode = 1 anchor_right = 1.0 anchor_bottom = 1.0 input_pass_on_modal_close_click = false size_flags_horizontal = 0 size_flags_vertical = 0 theme = ExtResource( 20 ) script = ExtResource( 5 ) [node name="SignalManager" parent="." instance=ExtResource( 7 )] [node name="InputMapper" type="Node" parent="."] unique_name_in_owner = true script = ExtResource( 15 ) [node name="background" type="TextureRect" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 margin_top = 46.0 margin_bottom = 46.0 texture = ExtResource( 10 ) expand = true stretch_mode = 1 [node name="background2" type="TextureRect" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 texture = ExtResource( 9 ) expand = true stretch_mode = 1 [node name="Titel" type="Label" parent="."] anchor_left = 0.5 anchor_right = 0.5 margin_left = -170.0 margin_right = 170.0 margin_bottom = 52.0 grow_horizontal = 2 size_flags_horizontal = 0 size_flags_vertical = 0 custom_fonts/font = SubResource( 1 ) text = "Controlls Menu" align = 1 valign = 1 [node name="TextureRect" type="TextureRect" parent="Titel"] material = SubResource( 6 ) anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -39.0 margin_top = -3.0 margin_right = 251.0 margin_bottom = 265.0 rect_scale = Vector2( 0.0627026, 0.0522158 ) texture = ExtResource( 12 ) [node name="Panel" type="Panel" parent="."] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -313.0 margin_top = -128.0 margin_right = 315.0 margin_bottom = 173.0 grow_horizontal = 2 grow_vertical = 2 focus_mode = 2 size_flags_horizontal = 5 size_flags_vertical = 5 theme = ExtResource( 20 ) [node name="Back" type="Button" parent="Panel"] unique_name_in_owner = true margin_left = 23.0 margin_top = 265.0 margin_right = 98.0 margin_bottom = 290.0 grow_horizontal = 2 grow_vertical = 2 rect_min_size = Vector2( 40, 20 ) focus_neighbour_left = NodePath("../Save") focus_neighbour_top = NodePath("../KeymapViewer/ScrollContainer") focus_neighbour_right = NodePath("../Reset") focus_neighbour_bottom = NodePath("../../ProfilesMenu") input_pass_on_modal_close_click = false size_flags_horizontal = 0 size_flags_vertical = 0 theme = ExtResource( 20 ) text = "Back" script = ExtResource( 2 ) next_screen_path = "res://src/UserInterface/Screens/MainMenu/MainScreen.tscn" [node name="Reset" type="Button" parent="Panel"] unique_name_in_owner = true anchor_left = 0.5 anchor_top = 0.95 anchor_right = 0.5 anchor_bottom = 0.95 margin_left = -39.5 margin_top = -20.95 margin_right = 35.5 margin_bottom = 4.05002 grow_horizontal = 2 grow_vertical = 2 rect_min_size = Vector2( 40, 20 ) focus_neighbour_left = NodePath("../Back") focus_neighbour_top = NodePath("../KeymapViewer/ScrollContainer") focus_neighbour_right = NodePath("../Save") focus_neighbour_bottom = NodePath("../../ProfilesMenu") input_pass_on_modal_close_click = false size_flags_horizontal = 0 size_flags_vertical = 0 theme = ExtResource( 20 ) text = "Reset" script = ExtResource( 16 ) [node name="Save" type="Button" parent="Panel"] unique_name_in_owner = true anchor_left = 0.95 anchor_top = 0.95 anchor_right = 0.95 anchor_bottom = 0.95 margin_left = -70.7 margin_top = -20.95 margin_right = 4.29999 margin_bottom = 4.05002 grow_horizontal = 2 grow_vertical = 2 rect_min_size = Vector2( 40, 20 ) focus_neighbour_left = NodePath("../Reset") focus_neighbour_top = NodePath("../KeymapViewer/ScrollContainer") focus_neighbour_right = NodePath("../Back") focus_neighbour_bottom = NodePath("../../ProfilesMenu") input_pass_on_modal_close_click = false size_flags_horizontal = 0 size_flags_vertical = 0 theme = ExtResource( 20 ) text = "Save" script = ExtResource( 1 ) [node name="KeymapViewer" type="VBoxContainer" parent="Panel"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -300.0 margin_top = -109.5 margin_right = 300.0 margin_bottom = 92.5 grow_horizontal = 2 grow_vertical = 2 [node name="Headers" type="HBoxContainer" parent="Panel/KeymapViewer"] margin_right = 600.0 margin_bottom = 9.0 size_flags_horizontal = 3 [node name="Action" type="Label" parent="Panel/KeymapViewer/Headers"] margin_right = 271.0 margin_bottom = 9.0 grow_horizontal = 2 size_flags_horizontal = 3 size_flags_vertical = 0 theme = ExtResource( 20 ) custom_fonts/font = SubResource( 9 ) text = "Action" valign = 1 [node name="Control" type="Label" parent="Panel/KeymapViewer/Headers"] margin_left = 275.0 margin_right = 325.0 margin_bottom = 9.0 grow_horizontal = 2 size_flags_horizontal = 0 size_flags_vertical = 0 custom_fonts/font = ExtResource( 22 ) text = "Button" align = 1 valign = 1 [node name="Change" type="Label" parent="Panel/KeymapViewer/Headers"] margin_left = 329.0 margin_right = 600.0 margin_bottom = 9.0 grow_horizontal = 2 size_flags_horizontal = 3 size_flags_vertical = 0 custom_fonts/font = ExtResource( 22 ) text = "Edit" align = 2 valign = 1 [node name="ScrollContainer" type="ScrollContainer" parent="Panel/KeymapViewer"] margin_top = 13.0 margin_right = 600.0 margin_bottom = 202.0 focus_neighbour_top = NodePath("../../../ProfilesMenu") focus_neighbour_bottom = NodePath("../../Save") focus_previous = NodePath("../../Back") size_flags_horizontal = 3 size_flags_vertical = 3 follow_focus = true [node name="ActionKeyList" type="VBoxContainer" parent="Panel/KeymapViewer/ScrollContainer"] unique_name_in_owner = true margin_right = 600.0 margin_bottom = 189.0 size_flags_horizontal = 3 size_flags_vertical = 3 script = ExtResource( 14 ) [node name="ProfilesMenu" type="OptionButton" parent="."] unique_name_in_owner = true anchor_left = 0.5 anchor_top = 0.17 anchor_right = 0.5 anchor_bottom = 0.17 margin_left = -14.5 margin_right = 14.5 margin_bottom = 19.0 grow_horizontal = 2 grow_vertical = 2 focus_neighbour_top = NodePath("../Panel/Back") focus_neighbour_bottom = NodePath("../Panel/KeymapViewer/ScrollContainer") theme = ExtResource( 20 ) script = ExtResource( 13 ) [node name="KeySelectMenu" type="Panel" parent="."] pause_mode = 2 unique_name_in_owner = true process_priority = 1 visible = false material = SubResource( 8 ) anchor_right = 1.0 anchor_bottom = 1.0 focus_mode = 2 input_pass_on_modal_close_click = false script = ExtResource( 3 ) [node name="Timer" type="Timer" parent="KeySelectMenu"] wait_time = 5.0 [node name="Prompt" type="Label" parent="KeySelectMenu"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -170.0 margin_top = -26.0 margin_right = 170.0 margin_bottom = 26.0 grow_horizontal = 2 size_flags_horizontal = 0 size_flags_vertical = 0 custom_fonts/font = SubResource( 7 ) text = "Press a key" align = 1 valign = 1 [node name="Prompt2" type="Label" parent="KeySelectMenu"] anchor_left = 0.663 anchor_top = 0.584 anchor_right = 0.663 anchor_bottom = 0.606 margin_left = -202.5 margin_top = -13.0 margin_right = 202.5 margin_bottom = 13.0 rect_scale = Vector2( 0.5, 0.5 ) size_flags_horizontal = 0 size_flags_vertical = 0 custom_fonts/font = SubResource( 7 ) text = "(ESC to cancel or wait for timeout in: )" align = 1 valign = 1 [node name="ReallyQuitMenu" type="Panel" parent="."] unique_name_in_owner = true visible = false material = SubResource( 8 ) anchor_right = 1.0 anchor_bottom = 1.0 focus_mode = 2 input_pass_on_modal_close_click = false script = ExtResource( 6 ) [node name="Prompt" type="Label" parent="ReallyQuitMenu"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -334.5 margin_top = -27.5 margin_right = 334.5 margin_bottom = 27.5 grow_horizontal = 2 mouse_filter = 0 size_flags_horizontal = 0 size_flags_vertical = 0 custom_fonts/font = SubResource( 10 ) text = "Unsaved changes were made. Go back anyway?" align = 1 valign = 1 [node name="VBoxContainer" type="VBoxContainer" parent="ReallyQuitMenu"] anchor_left = 0.5 anchor_right = 0.5 margin_left = -78.0 margin_top = 228.0 margin_right = 78.0 margin_bottom = 295.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 0 input_pass_on_modal_close_click = false size_flags_horizontal = 0 size_flags_vertical = 0 alignment = 1 [node name="SaveNQuit" type="Button" parent="ReallyQuitMenu/VBoxContainer"] unique_name_in_owner = true margin_right = 156.0 margin_bottom = 20.0 grow_horizontal = 2 grow_vertical = 2 rect_min_size = Vector2( 40, 20 ) focus_neighbour_top = NodePath("../QuitDontSave") focus_neighbour_bottom = NodePath("../ContinueEdit") input_pass_on_modal_close_click = false size_flags_horizontal = 7 size_flags_vertical = 4 theme = ExtResource( 20 ) text = "Save And Quit" icon_align = 1 script = ExtResource( 4 ) next_screen_path = "res://src/UserInterface/Screens/MainMenu/MainScreen.tscn" [node name="ContinueEdit" type="Button" parent="ReallyQuitMenu/VBoxContainer"] unique_name_in_owner = true margin_top = 24.0 margin_right = 156.0 margin_bottom = 43.0 grow_horizontal = 2 grow_vertical = 2 focus_neighbour_left = NodePath(".") focus_neighbour_top = NodePath("../SaveNQuit") focus_neighbour_right = NodePath(".") focus_neighbour_bottom = NodePath("../QuitDontSave") focus_next = NodePath(".") focus_previous = NodePath(".") input_pass_on_modal_close_click = false size_flags_vertical = 5 text = "Continue Editing" script = ExtResource( 8 ) [node name="QuitDontSave" type="Button" parent="ReallyQuitMenu/VBoxContainer"] unique_name_in_owner = true margin_top = 47.0 margin_right = 156.0 margin_bottom = 67.0 grow_horizontal = 2 grow_vertical = 2 rect_min_size = Vector2( 40, 20 ) focus_neighbour_top = NodePath("../ContinueEdit") focus_neighbour_bottom = NodePath("../SaveNQuit") input_pass_on_modal_close_click = false size_flags_horizontal = 7 size_flags_vertical = 4 text = "Quit Don't Save" script = ExtResource( 19 ) next_screen_path = "res://src/UserInterface/Screens/MainMenu/MainScreen.tscn" [connection signal="button_up" from="Panel/Back" to="Panel/Back" method="_on_button_up"] [connection signal="button_up" from="Panel/Reset" to="Panel/Reset" method="_on_button_up"] [connection signal="button_up" from="Panel/Save" to="Panel/Save" method="_on_button_up"] [connection signal="focus_entered" from="Panel/KeymapViewer/ScrollContainer" to="Panel/KeymapViewer/ScrollContainer" method="_on_focus_entered"] [connection signal="timeout" from="KeySelectMenu/Timer" to="KeySelectMenu" method="close_on_timeout"] [connection signal="button_up" from="ReallyQuitMenu/VBoxContainer/SaveNQuit" to="ReallyQuitMenu/VBoxContainer/SaveNQuit" method="_on_button_up"] [connection signal="button_up" from="ReallyQuitMenu/VBoxContainer/ContinueEdit" to="ReallyQuitMenu" method="close"] [connection signal="button_up" from="ReallyQuitMenu/VBoxContainer/QuitDontSave" to="ReallyQuitMenu/VBoxContainer/QuitDontSave" method="_on_button_up"]