diff options
author | IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com> | 2022-07-17 02:49:09 +0200 |
---|---|---|
committer | IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com> | 2022-07-17 02:49:09 +0200 |
commit | 4961e6a3f51990bb053cd8b18827e39aaf3e4e7c (patch) | |
tree | 41387099b13b6aca4ac69cdb3a1124a85825d600 /godot/scenes/Menu.tscn | |
parent | 88aeae3f02bfb19b83212599ac1eb950beb805b3 (diff) | |
parent | 8b932533e6d25a80f185bae299351426a4ca157e (diff) | |
download | 2022-4961e6a3f51990bb053cd8b18827e39aaf3e4e7c.tar.gz 2022-4961e6a3f51990bb053cd8b18827e39aaf3e4e7c.tar.bz2 2022-4961e6a3f51990bb053cd8b18827e39aaf3e4e7c.zip |
Merge branch 'Scoreboard'
Diffstat (limited to 'godot/scenes/Menu.tscn')
-rw-r--r-- | godot/scenes/Menu.tscn | 7 |
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"] |