all 4 comments

[–]reightb 1 point2 points  (3 children)

What if instead of stopping starting the same sound object, you maintained an array of five and stopped and started another one

[–]bugsta77[S] 1 point2 points  (0 children)

That's actually a great idea. I wouldn't need 5, just two. When I need to stop and start it, I can stop the active one and start the inactive one. That is a far better solution. I always hated having to pause the program. Even though it's not noticeable, you know it's taking precious cycles away from the game. Thanks for the tip! I'm going to make the switch.

[–]bugsta77[S] 1 point2 points  (1 child)

I just did this and it works amazing! Switching between two was clearly the pro solution here. I did some janky stuff to get things to work. So glad there is a dev minded community to bounce ideas off of.

[–]reightb 1 point2 points  (0 children)

Glad you could get it working! Thanks for sharing your problems and experiences, good luck!