Jump to content

sound and audio whats the differance


Lucky
 Share

Recommended Posts

There isn't any difference.  They have the same definition (since that's the case, I think one should just be a assigned as an alias for the other as opposed to duplicating).

 

If you look at the code you will see "audio" here:

    audio: function (key, volume, loop, connect) {        return this.game.sound.add(key, volume, loop, connect);    },

and sound:

    sound: function (key, volume, loop, connect) {        return this.game.sound.add(key, volume, loop, connect);    },
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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