Added menu music

This commit is contained in:
2026-01-10 16:11:46 +03:00
parent be040a79c0
commit f60db5f34d
6 changed files with 37 additions and 4 deletions
+2
View File
@@ -11,6 +11,8 @@ func _ready() -> void:
if OS.get_name() == "Web":
_setup_for_web()
SoundManager.play_music_stream(SoundManager.music_stream_main_menu)
start_button.grab_focus()
get_viewport().gui_focus_changed.connect(_on_gui_focus_changed)
-1
View File
@@ -110,5 +110,4 @@ func _on_sfx_volume_changed(value: float) -> void:
func _on_music_volume_changed(value: float) -> void:
if _play_sound: SoundManager.play_music_stream(SoundManager.ui_stream_select)
SettingsManager.music_volume = floor(value)