Edited by Lbckf, 24 February 2012 - 01:10 AM.
[SOLVED]Frame skips when playing sounds
Started by Lbckf, Feb 23 2012 12:14 AM
5 replies to this topic
#1
Posted 23 February 2012 - 12:14 AM
Whenever a sound plays in Game Maker (Using the sound_play(sound) code) the game freezes for about half a second. How can I fix this?
#2
Posted 23 February 2012 - 12:32 AM
does your game have tons of sounds, objects, sprites ect.?
#3
Posted 23 February 2012 - 12:36 AM
Not really, there are only 3 sounds and there are a few sprites and objects. But it shouldn't be too bad.does your game have tons of sounds, objects, sprites ect.?
#4
Posted 23 February 2012 - 01:06 AM
Don't use Game Maker's sound system then, use something more reliable like FMOD:
http://gmc.yoyogames...howtopic=333705
http://gmc.yoyogames...howtopic=333705
#5
Posted 23 February 2012 - 08:46 AM
Also, the size and preload settings of sounds matter. Do not play 2435 MB rawDCPM sounds for instance, better compress them to 8-bit 56bpm MPEG-III formatted WAV files. That's what I always do, giving my games that retro sound you'd typically want in 2D anyway.
Converting a normal WAV to a MP3-WAV using Windows XP's Sound Recorder gives you a filesize reduced with around 75%, so I'd advise you to at least try it and see if you like it.
Converting a normal WAV to a MP3-WAV using Windows XP's Sound Recorder gives you a filesize reduced with around 75%, so I'd advise you to at least try it and see if you like it.
#6
Posted 24 February 2012 - 01:10 AM
Thanks for showing me this! Fixed another sound bug I was having also.Don't use Game Maker's sound system then, use something more reliable like FMOD:
http://gmc.yoyogames...howtopic=333705
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











