[gd_scene load_steps=4 format=3 uid="uid://dt00rjsodtady"] [ext_resource type="Texture2D" uid="uid://b6ylra30qxf30" path="res://assets/logo/logo.png" id="1_1fmce"] [ext_resource type="Script" path="res://ui/main_menu/main_menu.gd" id="1_5gs73"] [ext_resource type="Texture2D" uid="uid://da7o6lfuoliid" path="res://assets/textures/Backgrounds/meadow2.jpg" id="2_bb61v"] [node name="MainMenu" 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_5gs73") [node name="Background" type="TextureRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("2_bb61v") expand_mode = 3 stretch_mode = 6 [node name="VBoxContainer" type="VBoxContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 50 [node name="Logo" type="TextureRect" parent="VBoxContainer"] custom_minimum_size = Vector2(600, 600) layout_mode = 2 size_flags_horizontal = 4 texture = ExtResource("1_1fmce") expand_mode = 4 stretch_mode = 5 [node name="Label" type="Label" parent="VBoxContainer/Logo"] layout_mode = 1 anchors_preset = 12 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = -23.0 grow_horizontal = 2 grow_vertical = 0 theme_override_colors/font_color = Color(0.945573, 0.745802, 0.348774, 1) theme_override_colors/font_outline_color = Color(0, 0, 0, 1) theme_override_constants/outline_size = 30 theme_override_font_sizes/font_size = 70 text = "MONSTER FANGEN" horizontal_alignment = 1 max_lines_visible = 2 [node name="MarginContainer" type="MarginContainer" parent="VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 theme_override_constants/margin_left = 50 theme_override_constants/margin_top = 20 theme_override_constants/margin_right = 50 theme_override_constants/margin_bottom = 50 [node name="MenuButtons" type="VBoxContainer" parent="VBoxContainer/MarginContainer"] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 3 [node name="NewGameButton" type="Button" parent="VBoxContainer/MarginContainer/MenuButtons"] unique_name_in_owner = true layout_mode = 2 theme_override_font_sizes/font_size = 32 text = "New Game" [node name="ContinueGameButton" type="Button" parent="VBoxContainer/MarginContainer/MenuButtons"] unique_name_in_owner = true visible = false layout_mode = 2 theme_override_font_sizes/font_size = 32 text = "Continue" [node name="OptionsButton" type="Button" parent="VBoxContainer/MarginContainer/MenuButtons"] unique_name_in_owner = true layout_mode = 2 theme_override_font_sizes/font_size = 32 text = "Options" [node name="LicensesButton" type="Button" parent="VBoxContainer/MarginContainer/MenuButtons"] unique_name_in_owner = true layout_mode = 2 theme_override_font_sizes/font_size = 32 text = "Licenses" [node name="ExitButton" type="Button" parent="VBoxContainer/MarginContainer/MenuButtons"] unique_name_in_owner = true layout_mode = 2 size_flags_vertical = 10 theme_type_variation = &"RedButton" theme_override_font_sizes/font_size = 32 text = "Exit" [node name="LicensesScreen" type="PanelContainer" parent="."] unique_name_in_owner = true layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="MarginContainer" type="MarginContainer" parent="LicensesScreen"] layout_mode = 2 theme_override_constants/margin_left = 40 theme_override_constants/margin_top = 40 theme_override_constants/margin_right = 40 theme_override_constants/margin_bottom = 40 [node name="VBoxContainer" type="VBoxContainer" parent="LicensesScreen/MarginContainer"] layout_mode = 2 [node name="MarginContainer" type="MarginContainer" parent="LicensesScreen/MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_constants/margin_bottom = 20 [node name="LicensesHeadingLabel" type="Label" parent="LicensesScreen/MarginContainer/VBoxContainer/MarginContainer"] layout_mode = 2 text = "Licenses used in this game" horizontal_alignment = 1 vertical_alignment = 1 [node name="ScrollContainer" type="ScrollContainer" parent="LicensesScreen/MarginContainer/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 follow_focus = true [node name="LicenseContainer" type="VBoxContainer" parent="LicensesScreen/MarginContainer/VBoxContainer/ScrollContainer"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 theme_override_constants/separation = 20 [node name="LicensesCloseButton" type="Button" parent="LicensesScreen/MarginContainer/VBoxContainer"] unique_name_in_owner = true layout_mode = 2 theme_type_variation = &"RedButton" text = "Close" [connection signal="pressed" from="VBoxContainer/MarginContainer/MenuButtons/NewGameButton" to="." method="_on_new_game_button_pressed"] [connection signal="pressed" from="VBoxContainer/MarginContainer/MenuButtons/ContinueGameButton" to="." method="_on_continue_game_button_pressed"] [connection signal="pressed" from="VBoxContainer/MarginContainer/MenuButtons/OptionsButton" to="." method="_on_options_button_pressed"] [connection signal="pressed" from="VBoxContainer/MarginContainer/MenuButtons/LicensesButton" to="." method="_on_licenses_button_pressed"] [connection signal="pressed" from="VBoxContainer/MarginContainer/MenuButtons/ExitButton" to="." method="_on_exit_button_pressed"] [connection signal="pressed" from="LicensesScreen/MarginContainer/VBoxContainer/LicensesCloseButton" to="." method="_on_licenses_close_button_pressed"]