Hello Guys,
I'm trying to find a way to play the same sound(gun shot) that might be played by many sources at the same time.
If I'm using a single AudioSource it seems that a new play call will stop the previous call from ending it's play.
I've also tried having a pool of AudioSource for the same SoundEffect, that did not get me any far as well.
Probably I'm missing something basic here.
Any Help Appreciated,
Chen.
Hi Chen,
Having a pool of audio sources (or ideally one for each weapon instance and changing the source's SoundEffect as needed) is the best way to go.
chenmark:that did not get me any far as well.
What happened?
Let me know if this helps!
Follow me on Twitter – development and personal tweetsAwesome XNA Videos – Lighting, Rendering, and game videos