aboutsummaryrefslogtreecommitdiffstats
path: root/godot/scenes/Menu.tscn
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--godot/scenes/Menu.tscn7
1 files changed, 6 insertions, 1 deletions
diff --git a/godot/scenes/Menu.tscn b/godot/scenes/Menu.tscn
index 5529448..792bc28 100644
--- a/godot/scenes/Menu.tscn
+++ b/godot/scenes/Menu.tscn
@@ -1,7 +1,8 @@
-[gd_scene load_steps=3 format=2]
+[gd_scene load_steps=4 format=2]
[ext_resource path="res://assets/theme.tres" type="Theme" id=1]
[ext_resource path="res://scenes/Menu.gd" type="Script" id=2]
+[ext_resource path="res://assets/sounds/main_menu.mp3" type="AudioStream" id=3]
[node name="Menu" type="Control"]
anchor_right = 1.0
@@ -38,5 +39,9 @@ margin_bottom = 251.0
focus_neighbour_bottom = NodePath("../StartButton")
text = "Quit"
+[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
+stream = ExtResource( 3 )
+autoplay = true
+
[connection signal="pressed" from="VBoxContainer/StartButton" to="." method="_on_StartButton_pressed"]
[connection signal="pressed" from="VBoxContainer/QuitButton" to="." method="_on_QuitButton_pressed"]