Sound effects
This commit is contained in:
parent
6ea21b3181
commit
6671b455c4
17 changed files with 94 additions and 6 deletions
|
@ -5,11 +5,14 @@ func _ready():
|
|||
|
||||
func _on_StartButton_pressed():
|
||||
# warning-ignore:return_value_discarded
|
||||
SoundFx.play_fx("Click", 1, -30)
|
||||
get_tree().change_scene("res://Scenes/World/World.tscn")
|
||||
|
||||
func _on_LoadButton_pressed():
|
||||
SaverLoader.is_loading = true
|
||||
SoundFx.play_fx("Click", 1, -30)
|
||||
get_tree().change_scene("res://Scenes/World/World.tscn")
|
||||
|
||||
func _on_QuitButton_pressed():
|
||||
SoundFx.play_fx("Click", 1, -30)
|
||||
get_tree().quit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue