[gd_scene load_steps=5 format=3 uid="uid://eqxii3esb77q"]

[ext_resource type="Theme" uid="uid://clswkwdkqsx87" path="res://themes/mainmenu_button_theme.tres" id="1_jy0t0"]
[ext_resource type="Script" path="res://source/mainmenu/MainMenu.gd" id="1_rpwyu"]
[ext_resource type="Texture2D" uid="uid://ccbum282wlrrj" path="res://art/backgrounds/mainmenu_background.png" id="2_7rmv5"]
[ext_resource type="Texture2D" uid="uid://jsnvlmenolg8" path="res://art/logos/mainmenu_logo.png" id="3_etjlt"]

[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_rpwyu")

[node name="MainMenuBar" type="GridContainer" parent="."]
layout_mode = 0
offset_left = 1050.0
offset_top = 515.0
offset_right = 1530.0
offset_bottom = 1155.0
size_flags_horizontal = 4
size_flags_vertical = 4
theme_override_constants/v_separation = 32

[node name="Menu_NewGame" type="Button" parent="MainMenuBar"]
layout_mode = 2
theme = ExtResource("1_jy0t0")
text = " New Game"
alignment = 0

[node name="Menu_LoadGame" type="Button" parent="MainMenuBar"]
layout_mode = 2
theme = ExtResource("1_jy0t0")
text = " Load Game"
alignment = 0

[node name="Menu_ResumeGame" type="Button" parent="MainMenuBar"]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 0
theme = ExtResource("1_jy0t0")
text = " Resume Game "
alignment = 0

[node name="Menu_Options" type="Button" parent="MainMenuBar"]
layout_mode = 2
size_flags_horizontal = 0
theme = ExtResource("1_jy0t0")
text = " Options     "

[node name="Menu_Credits" type="Button" parent="MainMenuBar"]
layout_mode = 2
theme = ExtResource("1_jy0t0")
text = " Credits"
alignment = 0

[node name="Menu_ExitGame" type="Button" parent="MainMenuBar"]
layout_mode = 2
theme = ExtResource("1_jy0t0")
text = " Exit Game"
alignment = 0

[node name="MenuBackground" type="Sprite2D" parent="."]
z_index = -1
scale = Vector2(0.67, 0.667)
texture = ExtResource("2_7rmv5")
centered = false

[node name="MenuLogo" type="Sprite2D" parent="."]
position = Vector2(856, 592)
rotation = -1.5708
scale = Vector2(0.547831, 0.547831)
texture = ExtResource("3_etjlt")

[connection signal="pressed" from="MainMenuBar/Menu_NewGame" to="." method="_on_menu_new_game_pressed"]
[connection signal="pressed" from="MainMenuBar/Menu_LoadGame" to="." method="_on_menu_load_game_pressed"]
[connection signal="pressed" from="MainMenuBar/Menu_ResumeGame" to="." method="_on_menu_resume_game_pressed"]
[connection signal="pressed" from="MainMenuBar/Menu_Options" to="." method="_on_menu_options_pressed"]
[connection signal="pressed" from="MainMenuBar/Menu_Credits" to="." method="_on_menu_credits_pressed"]
[connection signal="pressed" from="MainMenuBar/Menu_ExitGame" to="." method="_on_menu_exit_game_pressed"]
