SimpleAudioEngine Questions,

SimpleAudioEngine Questions,
0.0 0


Hello guys,

I have currently putting sound effects into my game and have stumbled upon a bit of a road block.

Basically there is a sound that need to play each time an event happens. This part is easy. However there as instances where the event happens multiple times simultaneously which cause the sound to be played over itself for each event making it ridiculously loud.

My first idea was to check and see if the sound is already playing and not play it again if it was, but SimpleAudioEngine doesn’t contain that functionality. Or does it?

I wanted to check to see if anyone (more knowledgeable than myself) had come up with a similar solution?

My other idea was to possible revert to a more advanced. This seems a bit like over kill considering my problem is relatively small, but I don’t mind doing it if I have to.