GML Visual Lag when Sound Effect plays.

DISCLAIMER: I'M USING GAME MAKER 8

Hey everyone, It's me, again.
I basically finished my tech demo, and of course, even at the end I have problems...

As the title says, when I play a sound effect, the entire game freezes for about 1 second and then makes the sound.

That's pretty weird, because it happens only with sound effects, not music...
What do I do? :p

Thanks!
 

YoSniper

Member
The only thought that comes to mind is: are these sound effects preloaded? If they are dynamically loaded on the fly, this might explain the lag time. Whereas if they are already loaded into memory when the game starts up, this lag shouldn't happen.

I'm not an expert when it comes to the inner guts of Game Maker, though.
 
Top