• 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!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

GameMaker 1.4 HTML5 sound delay

K

Korpokrowa

Guest
Hi, I'm coming back to game development after huge break and for a beginning I want to fix something that really bothers me. Long time ago I decided to port all of my games to html, because it's more possible for someone to play my horrible games if they don't need to be downloaded first. Unfortunately, all games made in GameMaker have annoying bug. Before playing any sound, music etc. for the first time, there is some delay. This one game I made on the other engine works fine. Any ideas how to fix it?
 

O.Stogden

Member
You could try messing around with the uncompressed/compressed and streamed/not-streamed options for your sounds.

If the sounds are compressed, they'd need to be uncompressed before they're played, it could result in a delay.
 
Hi, I'm coming back to game development after huge break and for a beginning I want to fix something that really bothers me. Long time ago I decided to port all of my games to html, because it's more possible for someone to play my horrible games if they don't need to be downloaded first. Unfortunately, all games made in GameMaker have annoying bug. Before playing any sound, music etc. for the first time, there is some delay. This one game I made on the other engine works fine. Any ideas how to fix it?
Does this happen with your when you're using your computer, or only on a mobile device? I've noticed that there's a slight delay on some mobile devices that I've used for testing my HTML5 games. In some games, there might also be a small initial delay the first time a sound is played, but it works fairly nicely after that.
 
Top