add a custom audio listener

This commit is contained in:
2024-10-13 15:51:38 +10:00
parent ae63c97277
commit 52517fac05
3 changed files with 13 additions and 6 deletions

View File

@@ -50,7 +50,8 @@ func _handle_honeydew_spawn(delta: float) -> void:
if honeydew_spawn_timer >= 0:
honeydew_spawn_timer -= delta
return
audio_player.play_sound(SoundManager.pop())
var new_honeydew := honeydew_scene.instantiate() as Honeydew
new_honeydew.set_aphid(self)