mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-14 22:32:24 +02:00
Implemented most sounds (Missing Boss and Hero Laught))
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user