Advantages Audio Sprites

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.

Share this post

Link to post
Share on other sites



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}


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.