mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-13 05:52:24 +02:00
Minor Cleanup
- Renamed SoundController - Cleaned up spacings - File endings
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
extends StaticBody2D
|
||||
|
||||
|
||||
func _sound_finished():
|
||||
SoundControler.pub_play_effect("res://Objects/Bonfire/Bonfire.wav",3)
|
||||
SoundControler.pub_play_effect("res://Objects/Bonfire/Bonfire.wav", 3)
|
||||
|
||||
|
||||
func _ready():
|
||||
SoundControler.pub_play_effect("res://Objects/Bonfire/Bonfire.wav",3)
|
||||
SoundControler.pub_play_effect("res://Objects/Bonfire/Bonfire.wav", 3)
|
||||
SoundControler._effect[3].volume_db = -20
|
||||
SoundControler._effect[3].connect("finished",self,"_sound_finished")
|
||||
SoundControler._effect[3].connect("finished", self, "_sound_finished")
|
||||
|
||||
|
||||
func _on_Hurtbox_area_entered(area):
|
||||
queue_free()
|
||||
|
||||
Reference in New Issue
Block a user