diff --git a/src/index.html b/src/index.html index 90bbe69..3c8263c 100644 --- a/src/index.html +++ b/src/index.html @@ -11,5 +11,6 @@ + \ No newline at end of file diff --git a/src/main.js b/src/main.js index e69de29..370f80a 100644 --- a/src/main.js +++ b/src/main.js @@ -0,0 +1,17 @@ +var config = { + type: Phaser.AUTO, + width: 800, + height: 600, + physics: { + default: 'arcade', + arcade: { + gravity: {y: 300}, + debug: false + } + }, + scene: { + preload: preload, + create: create, + update: update + } +};