[gd_scene format=3 uid="uid://dlbuo46n6q238"] [ext_resource type="Theme" uid="uid://dx26d6py3n8xi" path="res://resources/main_ui_theme.tres" id="1_ekxnf"] [ext_resource type="AudioStream" uid="uid://b7dgmblbcm0cj" path="res://assets/music/menu_theme.OGG" id="1_yqeox"] [sub_resource type="GDScript" id="GDScript_bqqt6"] resource_name = "StartButton" script/source = "extends Button func _pressed() -> void: get_parent().queue_free() get_tree().change_scene_to_file(\"res://scenes/combat_test.tscn\") " [sub_resource type="GDScript" id="GDScript_ekxnf"] resource_name = "ExitButton" script/source = "extends Button func _pressed() -> void: get_tree().quit(0) " [node name="Menu" type="Control" unique_id=528000941] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme = ExtResource("1_ekxnf") [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." unique_id=1976575731] stream = ExtResource("1_yqeox") autoplay = true [node name="Buttons" type="VBoxContainer" parent="." unique_id=1869378860] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 alignment = 1 [node name="StartButton" type="Button" parent="Buttons" unique_id=734401781] layout_mode = 2 text = "Start" script = SubResource("GDScript_bqqt6") [node name="Options" type="Button" parent="Buttons" unique_id=1037030570] layout_mode = 2 text = "Options" [node name="ExitButton" type="Button" parent="Buttons" unique_id=1205095617] layout_mode = 2 text = "Exit" script = SubResource("GDScript_ekxnf") [connection signal="pressed" from="Buttons/Options" to="Buttons/Options" method="_on_pressed"]