jtait / BitBattalion

BitBattalion - An arcade style scrolling shooter
0 stars 0 forks source link

3d sound settings on enemy laser not set - can hear the laser while off screen #16

Open jtait opened 9 years ago

jtait commented 9 years ago

The update to Unity 5.1 seems to have moved the audio listener. Turret noises are heard from a large distance. I have already adjusted the volume, but more may need to be done.

jtait commented 9 years ago

This might be related to the way the sounds of enemy lasers are produced. Since the lasers play the sound through code, the setting for 3D sounds may be ignored or not set.

jtait commented 9 years ago

can't reproduce

jtait commented 9 years ago

seems like the distance needs to be set in the 3d settings on the audio source, meaning the audio needs to be handled outside of the script.