Jump to content


Photo

Html 5 sound issue


  • Please log in to reply
3 replies to this topic

#1 _256728

_256728

    GMC Member

  • New Member
  • 10 posts

Posted 07 March 2012 - 11:41 AM

Hi there, hope everybody's doing great,

I have a problem concerning sound issues on GM html5; whenever I do include sounds into my game and try to play it on chrome and other navigators i obtain nothing but a blank screen ( uniform grey background on the browser) , yet when I do remove all sounds, the game shows up on browsers and works fine. How do I include sounds into my game and still have it working on chrome and other navigators
  • 0

#2 Dangerous_Dave

Dangerous_Dave

    GMC Member

  • Global Moderators
  • 9276 posts
  • Version:Unknown

Posted 08 March 2012 - 09:19 AM

Are you including the sounds in the normal way, as sound resources, and playing with sound_play, or through some other method such as sound_add?

Try changing the output to Windows and running the game, you may find you have an error message regarding your implementation of playing sounds. GMHTML5 doesn't have error messages like the Windows runner does.
  • 0

#3 _256728

_256728

    GMC Member

  • New Member
  • 10 posts

Posted 08 March 2012 - 12:10 PM

Thanks mate, i did restart my computer, and had the sounds (wavs) playing on my browser, but i wonder how to include midis on html5 :(
  • 0

#4 Dangerous_Dave

Dangerous_Dave

    GMC Member

  • Global Moderators
  • 9276 posts
  • Version:Unknown

Posted 08 March 2012 - 07:16 PM

They aren't supported by the browsers, but if you add them to GM it may be able to convert them for you.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users