• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

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