Implemented most sounds (Missing Boss and Hero Laught))

This commit is contained in:
Jan Schuffenhauer
2020-04-20 23:20:30 +02:00
parent 1299860e1f
commit 723b765b3e
45 changed files with 466 additions and 2 deletions

View File

@@ -25,3 +25,12 @@ func _on_Hurtbox_area_entered(area):
if(lifePoints<=0):
queue_free()
pass
func _sound_finished():
SoundControler.pub_play_effect("res://Objects/Torch/Torch.wav",4)
func _ready():
SoundControler.pub_play_effect("res://Objects/Torch/Torch.wav",4)
SoundControler._effect[4].volume_db = -20
SoundControler._effect[4].connect("finished",self,"_sound_finished")