So i have a few questions for you guys about sounds:
My game now has an enemy and the player itself, they can both shoot.
Now i want to add a sound when the player and the enemy shoot, but how do I make the shooting sound from the enemy ambient, because i want the sound to appear louder when closer to the enemy.
I’ve already tried adding a sound to the projectile, but if the projectile hits me, it gets louder and the sound vanishes instantly.
Secondly i want to add a sound when the enemy hits the ground with every step. I’ve tried adding nodes to the animation, but this makes the sound the same volume everywhere on the map.