Sounds and fps freezing
Hi,
I've looked all over the forums, but I can't seem to find the right answer to the problem I am having so hopefully one of you can help.
My game runs smooth at 60 fps however when I added in sounds when ever a sound is played at any point in the scene it causes the fps to basically halt and the entire game experiences a quick pause. I've tried .wav and .ogg sound file formats, any suggestions?
I've looked all over the forums, but I can't seem to find the right answer to the problem I am having so hopefully one of you can help.
My game runs smooth at 60 fps however when I added in sounds when ever a sound is played at any point in the scene it causes the fps to basically halt and the entire game experiences a quick pause. I've tried .wav and .ogg sound file formats, any suggestions?
Comments
Have a play sound behavior playing whatever sounds are causing the lag at the start of the game with a volume of 0. That will load the sound in so it doesnt have to load when you want it to play later on and should stop the freezing.
I only recently started having this issue, but that's also because I only recently upgraded my GS to the latest version. Anyone else having this problem? It's a big one for me now.
Thanks for any ideas.