aboutsummaryrefslogtreecommitdiff
path: root/client/audio/sound.gd
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2025-08-26 23:05:03 +0200
committertpart <tpart120@proton.me>2025-08-26 23:05:03 +0200
commit34285add925cee5c3b27af7238ed52f61f376ef9 (patch)
tree86f32bc619850c7564c59af3dab04f139dbd61e2 /client/audio/sound.gd
parentf7c95ce30281125d9eb1f28f0633bc8454c1dd58 (diff)
downloadhurrycurry-34285add925cee5c3b27af7238ed52f61f376ef9.tar
hurrycurry-34285add925cee5c3b27af7238ed52f61f376ef9.tar.bz2
hurrycurry-34285add925cee5c3b27af7238ed52f61f376ef9.tar.zst
Add Ready? Go! message on game start; Fix various bugs
Diffstat (limited to 'client/audio/sound.gd')
-rw-r--r--client/audio/sound.gd4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/audio/sound.gd b/client/audio/sound.gd
index 5b875b4e..8c7649aa 100644
--- a/client/audio/sound.gd
+++ b/client/audio/sound.gd
@@ -17,6 +17,7 @@ extends Node
@onready var click_sound = $UI/Click
@onready var hover_sound = $UI/Hover
+@onready var game_start_sound = $UI/GameStart
@onready var music_node : Node = $Music
var item_sounds: Dictionary = {}
@@ -45,6 +46,9 @@ func play_click():
func play_hover():
hover_sound.play()
+func play_game_start():
+ game_start_sound.play()
+
func play_hover_maybe(element):
# Don't play hover sound when focus is changed by clicking using a mouse.
# TODO: Clean up this code and find a proper solution.