Jump to content

Advantages Audio Sprites


Vivern
 Share

Recommended Posts

Audio Sprites are generally a 'hang over' from pre-Web Audio days, where they were literally the only way to have multiple sound effects / music in a game. However they're still pretty useful even for web audio playback, as it means less http requests and mostly retains compatibility with older devices that still don't support Web Audio, or browsers like IE that don't at all either.

Link to comment
Share on other sites

Thanks.

 

Another wanted to clarify.
How to do a check:

If( device support WebAudio ) {    Play background music + play game sounds (click, explodes, etc.)} else {    Only play background music}

?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...