Added Shoot sound

This commit is contained in:
2024-05-12 00:26:06 -04:00
parent ca5ac810b4
commit b7f15d9875
4 changed files with 31 additions and 2 deletions

View File

@ -38,6 +38,7 @@ func fire_gun(pos : Vector2, rot : float) -> void:
bullet.position = pos
bullet.rotation = rot
$Projectiles.add_child(bullet)
$ShootSound.play()
can_shoot = false
$ShotCooldown.start()