[gd_scene load_steps=4 format=3 uid="uid://kau3bi207f3e"] [ext_resource type="Script" path="res://Scripts/MainMenu.cs" id="1_mkcsg"] [ext_resource type="PackedScene" uid="uid://cwfaxgr8pgfga" path="res://Scenes/game.tscn" id="2_5sqk5"] [ext_resource type="PackedScene" uid="uid://5xajclchk3my" path="res://Scenes/MainMenu.tscn" id="3_wt7j8"] [node name="Control" 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_mkcsg") GameScene = ExtResource("2_5sqk5") MainMenuScene = ExtResource("3_wt7j8") [node name="MarginContainer" type="MarginContainer" parent="."] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -63.5 offset_top = -64.0 offset_right = 63.5 offset_bottom = 64.0 grow_horizontal = 2 grow_vertical = 2 [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 [node name="Label" type="Label" parent="MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_font_sizes/font_size = 38 text = "Game Over" [node name="RestartButton" type="Button" parent="MarginContainer/VBoxContainer"] layout_mode = 2 text = "Restart" [node name="MainMenuButton" type="Button" parent="MarginContainer/VBoxContainer"] layout_mode = 2 text = "Main Menu" [node name="ExitButton" type="Button" parent="MarginContainer/VBoxContainer"] layout_mode = 2 text = "Exit " [connection signal="pressed" from="MarginContainer/VBoxContainer/RestartButton" to="." method="_on_start_button_pressed"] [connection signal="pressed" from="MarginContainer/VBoxContainer/MainMenuButton" to="." method="_on_mainmenu_button_pressed"] [connection signal="pressed" from="MarginContainer/VBoxContainer/ExitButton" to="." method="_on_exit_button_pressed"]