mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-13 22:12:23 +02:00
Minor Cleanup
- Renamed SoundController - Cleaned up spacings - File endings
This commit is contained in:
@@ -6,10 +6,12 @@ var Minion = load("res://Boss/Minion.tscn")
|
||||
|
||||
var elapsedTime = 0.0
|
||||
|
||||
|
||||
func offset_vec():
|
||||
var offset = 16
|
||||
return Vector2((randf()-0.5)*offset, (randf()-0.5)*offset)
|
||||
|
||||
|
||||
func _physics_process(delta):
|
||||
elapsedTime += delta
|
||||
if(elapsedTime>=spawnRate):
|
||||
@@ -30,6 +32,7 @@ func _on_Hurtbox_area_entered(area):
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user