[gd_scene load_steps=2 format=3 uid="uid://de7bjfpfgrnuv"] [ext_resource type="Script" path="res://scripts/main_menu.gd" id="1_2lfxk"] [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_2lfxk") [node name="MenuButtons" type="VBoxContainer" 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 = -68.5 offset_top = -50.5 offset_right = 68.5 offset_bottom = 50.5 grow_horizontal = 2 grow_vertical = 2 [node name="PlayButton" type="Button" parent="MenuButtons"] layout_mode = 2 text = "Play " [node name="SaveButton" type="Button" parent="MenuButtons"] layout_mode = 2 text = "Save" [node name="LoadButton" type="Button" parent="MenuButtons"] layout_mode = 2 text = "Load " [node name="ExitButton" type="Button" parent="MenuButtons"] layout_mode = 2 text = "Exit" [node name="DebugButtons" type="VBoxContainer" parent="MenuButtons"] visible = false layout_mode = 2 [node name="TestButton" type="Button" parent="MenuButtons/DebugButtons"] layout_mode = 2 text = "Test " [node name="AutostartToggle" type="CheckButton" parent="MenuButtons/DebugButtons"] layout_mode = 2 text = "Auto Play" [node name="EnemyDamageToggle" type="CheckButton" parent="MenuButtons/DebugButtons"] layout_mode = 2 [node name="EnemyNumbersToggle" type="CheckButton" parent="MenuButtons/DebugButtons"] layout_mode = 2 [connection signal="pressed" from="MenuButtons/PlayButton" to="." method="_on_play_button_pressed"] [connection signal="pressed" from="MenuButtons/SaveButton" to="." method="_on_save_button_pressed"] [connection signal="pressed" from="MenuButtons/LoadButton" to="." method="_on_load_button_pressed"] [connection signal="pressed" from="MenuButtons/ExitButton" to="." method="_on_exit_button_pressed"] [connection signal="pressed" from="MenuButtons/DebugButtons/TestButton" to="." method="_on_test_button_pressed"] [connection signal="toggled" from="MenuButtons/DebugButtons/AutostartToggle" to="." method="_on_autostart_toggle_toggled"]