Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
game.createScene('Main', {
init: function() {
this.gameMusic();
},
gameMusic: function() {
var music = new game.Music('music.m4a');
music.play();
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment