This page is work-in-progress. You can reach me on twitter or mail to

Sound and Music

Playground prefers ogg then mp3.

For the best consistency you should provide both.

You can also perform preferedAudioFormat: "mp3"

Click the mouse around.

var ENGINE = { };

ENGINE.Game = {

  enter: function() {"music", true);


  render: function() {"#088");


  mousedown: function() {"laser");



app = playground({

  create: function() {

    this.loadSounds("laser", "music")


  ready: function() {



  container: exampleContainer


Read more about sound and music in playground.

Ask question:

Fork me on GitHub