diff options
author | George L. Albany <Megacake1234@gmail.com> | 2023-02-27 17:26:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-27 17:26:54 +0100 |
commit | 2062aaf394ee6581161add4bcb23076475e236ac (patch) | |
tree | adb1a6e5fe4c7d06c778188961a6e660ee911413 /game/project.godot | |
parent | 150c11376765af5dc0c180de9cf7bbcc8fa9b99b (diff) |
Refactor SFX into a SoundManager (#45)
* Refactor SFX into a SoundManager
Add SoundManager able to play arbitrary sound streams
Make SoundManager use only one AudioStreamPlayer per bus
Add StyleBoxWithSound
Add Kenney UI Audio click3.wav
Removed sound play via pressed signals in MainMenu
Make Button_MainMenu pressed style StyleBoxWithSound with click3.wav sound
* Add playing mp3 files by name to the SoundManager
* Fix missing quotation
Diffstat (limited to 'game/project.godot')
-rw-r--r-- | game/project.godot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/project.godot b/game/project.godot index 5031276..d24cbee 100644 --- a/game/project.godot +++ b/game/project.godot @@ -20,7 +20,7 @@ config/project_settings_override.template="user://settings.cfg" Events="*res://src/Autoload/Events.gd" Resolution="*res://src/Autoload/Resolution.gd" -SFX="*res://src/Autoload/SFX.gd" +SoundManager="*res://src/Autoload/SoundManager.gd" Keychain="*res://addons/keychain/Keychain.gd" [display] |