aboutsummaryrefslogtreecommitdiffstats
path: root/godot/scenes/Menu.tscn
diff options
context:
space:
mode:
authorLibravatar IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com>2022-07-17 00:59:28 +0200
committerLibravatar IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com>2022-07-17 00:59:28 +0200
commit1d79bbbb95f1372650914cf543e7d9179653ef6e (patch)
tree822b4f1b696a818178f764e9bb1e8603a0eb686d /godot/scenes/Menu.tscn
parent598a36466e76d0c7c16a690a72d4a0e8d7326351 (diff)
download2022-1d79bbbb95f1372650914cf543e7d9179653ef6e.tar.gz
2022-1d79bbbb95f1372650914cf543e7d9179653ef6e.tar.bz2
2022-1d79bbbb95f1372650914cf543e7d9179653ef6e.zip
added bgm
Diffstat (limited to 'godot/scenes/Menu.tscn')
-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"]