Wires in new audio sound fxs

This commit is contained in:
2026-03-11 10:23:19 -04:00
parent 309182daeb
commit 8b2e059f07
10 changed files with 21 additions and 0 deletions
+1
View File
@@ -86,6 +86,7 @@ func _do_fire(delta: float) -> void:
_shot_timer = BURST_PAUSE
func _fire_projectile() -> void:
AudioManager.play("enemy_shoot")
var proj = ENEMY_PROJECTILE.instantiate()
proj.position = (get_parent() as Node2D).to_local(global_position)
proj.direction = Vector2.from_angle(_fire_angle)