[gd_scene format=3 uid="uid://drgv154ei1vrl"] [ext_resource type="PackedScene" uid="uid://px6a2dg8cawb" path="res://addons/modular-settings-menu/scenes/settings.tscn" id="1_06t4h"] [sub_resource type="GDScript" id="GDScript_rhts7"] script/source = "extends Control func _on_play_button_pressed() -> void: print(\"Starting game by pressing button...\") GameManager.start_game() self.queue_free() " [sub_resource type="LabelSettings" id="LabelSettings_rhts7"] font_size = 64 [node name="MainMenu" type="Control" unique_id=369570860] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = SubResource("GDScript_rhts7") [node name="PlayButton" type="Button" parent="." unique_id=1831335357] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -160.0 offset_top = -29.0 offset_right = 160.0 offset_bottom = 29.0 grow_horizontal = 2 grow_vertical = 2 text = "Play" [node name="MainMenuText" type="Label" parent="." unique_id=1324657553] layout_mode = 1 anchors_preset = 5 anchor_left = 0.5 anchor_right = 0.5 offset_left = -292.0 offset_right = 292.0 offset_bottom = 119.0 grow_horizontal = 2 text = "The Main Menu" label_settings = SubResource("LabelSettings_rhts7") horizontal_alignment = 1 vertical_alignment = 1 [node name="Settings" parent="." unique_id=112964493 node_paths=PackedStringArray("MenuPanelRef") instance=ExtResource("1_06t4h")] layout_mode = 1 MenuPanelRef = NodePath("../SettingsWheelButton") [node name="SettingsWheelButton" type="Button" parent="." unique_id=2147291321] layout_mode = 0 offset_left = 898.0 offset_top = 46.0 offset_right = 954.0 offset_bottom = 93.0