Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const config = {
- type: Phaser.AUTO,
- parent: "game",
- width: 800,
- height: 600,
- scene: {
- preload: preload,
- update: update,
- create: create
- }
- };
- const game = new Phaser.Game(config);
- function preload (){
- }
- function create (){
- }
- function update(){
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement