Created
March 27, 2018 17:45
-
-
Save ekelokorpi/e7a85c6271fac3fbd597a2bb6b36e5cb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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