[gd_scene format=3 uid="uid://main_menu"] [ext_resource type="Script" path="res://main_menu.gd" id="1_menu"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_btn_panel"] bg_color = Color(0.04, 0.03, 0.07, 0.78) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 border_color = Color(0.25, 0.20, 0.35, 0.6) corner_radius_top_left = 8 corner_radius_top_right = 8 corner_radius_bottom_right = 8 corner_radius_bottom_left = 8 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_settings"] bg_color = Color(0.07, 0.06, 0.11, 0.97) border_width_left = 2 border_width_top = 2 border_width_right = 2 border_width_bottom = 2 border_color = Color(0.25, 0.20, 0.35, 1.0) corner_radius_top_left = 10 corner_radius_top_right = 10 corner_radius_bottom_right = 10 corner_radius_bottom_left = 10 [node name="MainMenu" type="CanvasLayer"] script = ExtResource("1_menu") [node name="Background" type="TextureRect" parent="."] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 expand_mode = 1 stretch_mode = 6 [node name="MainPanel" type="Control" parent="Background"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 [node name="ButtonPanel" type="Panel" parent="Background/MainPanel"] layout_mode = 1 anchors_preset = -1 anchor_left = 0.05 anchor_top = 0.62 anchor_right = 0.28 anchor_bottom = 0.92 theme_override_styles/panel = SubResource("StyleBoxFlat_btn_panel") [node name="VBoxContainer" type="VBoxContainer" parent="Background/MainPanel/ButtonPanel"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 16.0 offset_top = 16.0 offset_right = -16.0 offset_bottom = -16.0 theme_override_constants/separation = 14 [node name="PlayBtn" type="Button" parent="Background/MainPanel/ButtonPanel/VBoxContainer"] custom_minimum_size = Vector2(0, 55) layout_mode = 2 theme_override_font_sizes/font_size = 22 text = "Spielen" [node name="SettingsBtn" type="Button" parent="Background/MainPanel/ButtonPanel/VBoxContainer"] custom_minimum_size = Vector2(0, 55) layout_mode = 2 theme_override_font_sizes/font_size = 22 text = "Einstellungen" [node name="QuitBtn" type="Button" parent="Background/MainPanel/ButtonPanel/VBoxContainer"] custom_minimum_size = Vector2(0, 55) layout_mode = 2 theme_override_font_sizes/font_size = 22 text = "Beenden" [node name="VersionLabel" type="Label" parent="Background/MainPanel"] layout_mode = 1 anchors_preset = -1 anchor_left = 0.0 anchor_top = 1.0 anchor_right = 0.0 anchor_bottom = 1.0 offset_left = 12.0 offset_top = -26.0 offset_right = 200.0 offset_bottom = -6.0 theme_override_font_sizes/font_size = 12 text = "v0.1 Alpha" modulate = Color(0.6, 0.55, 0.45, 0.8) [node name="SettingsPanel" type="Panel" parent="Background"] visible = false layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -280.0 offset_top = -260.0 offset_right = 280.0 offset_bottom = 260.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_settings") [node name="VBoxContainer" type="VBoxContainer" parent="Background/SettingsPanel"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 24.0 offset_top = 24.0 offset_right = -24.0 offset_bottom = -24.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 18 [node name="Title" type="Label" parent="Background/SettingsPanel/VBoxContainer"] layout_mode = 2 theme_override_font_sizes/font_size = 26 text = "Einstellungen" horizontal_alignment = 1 [node name="HSeparator" type="HSeparator" parent="Background/SettingsPanel/VBoxContainer"] layout_mode = 2 [node name="ResolutionRow" type="HBoxContainer" parent="Background/SettingsPanel/VBoxContainer"] layout_mode = 2 [node name="Label" type="Label" parent="Background/SettingsPanel/VBoxContainer/ResolutionRow"] layout_mode = 2 size_flags_horizontal = 3 theme_override_font_sizes/font_size = 16 text = "Auflösung" [node name="ResolutionOption" type="OptionButton" parent="Background/SettingsPanel/VBoxContainer/ResolutionRow"] custom_minimum_size = Vector2(200, 0) layout_mode = 2 theme_override_font_sizes/font_size = 14 [node name="WindowModeRow" type="HBoxContainer" parent="Background/SettingsPanel/VBoxContainer"] layout_mode = 2 [node name="Label" type="Label" parent="Background/SettingsPanel/VBoxContainer/WindowModeRow"] layout_mode = 2 size_flags_horizontal = 3 theme_override_font_sizes/font_size = 16 text = "Fenstermodus" [node name="WindowModeOption" type="OptionButton" parent="Background/SettingsPanel/VBoxContainer/WindowModeRow"] custom_minimum_size = Vector2(200, 0) layout_mode = 2 theme_override_font_sizes/font_size = 14 [node name="VsyncRow" type="HBoxContainer" parent="Background/SettingsPanel/VBoxContainer"] layout_mode = 2 [node name="Label" type="Label" parent="Background/SettingsPanel/VBoxContainer/VsyncRow"] layout_mode = 2 size_flags_horizontal = 3 theme_override_font_sizes/font_size = 16 text = "VSync" [node name="VsyncCheck" type="CheckBox" parent="Background/SettingsPanel/VBoxContainer/VsyncRow"] layout_mode = 2 text = "Aktiviert" [node name="MSAARow" type="HBoxContainer" parent="Background/SettingsPanel/VBoxContainer"] layout_mode = 2 [node name="Label" type="Label" parent="Background/SettingsPanel/VBoxContainer/MSAARow"] layout_mode = 2 size_flags_horizontal = 3 theme_override_font_sizes/font_size = 16 text = "Anti-Aliasing" [node name="MSAAOption" type="OptionButton" parent="Background/SettingsPanel/VBoxContainer/MSAARow"] custom_minimum_size = Vector2(200, 0) layout_mode = 2 theme_override_font_sizes/font_size = 14 [node name="Spacer" type="Control" parent="Background/SettingsPanel/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 [node name="BackBtn" type="Button" parent="Background/SettingsPanel/VBoxContainer"] custom_minimum_size = Vector2(0, 50) layout_mode = 2 theme_override_font_sizes/font_size = 18 text = "Zurück"