Created
June 20, 2018 13:07
-
-
Save scope2229/c9d347b43cbd40196b1f91259d6842fd 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
export default class Boot { | |
preload(){ | |
console.log("preload"); | |
this.load.image("preloader", ''); | |
} | |
create(){ | |
game.input.maxPointers = 1; | |
game.scene.start("preload"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment