Skip to content

Instantly share code, notes, and snippets.

@scope2229
Created June 20, 2018 13:07
Show Gist options
  • Save scope2229/c9d347b43cbd40196b1f91259d6842fd to your computer and use it in GitHub Desktop.
Save scope2229/c9d347b43cbd40196b1f91259d6842fd to your computer and use it in GitHub Desktop.
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