rewrote the app code to more easily allow for collisions

This commit is contained in:
kharhamel
2020-04-12 16:12:08 +02:00
parent 241cbd720a
commit 6e27377b07
10 changed files with 139 additions and 268 deletions
+5 -2
View File
@@ -13,8 +13,11 @@ const config: GameConfig = {
scene: gameManager.GameScenes,
zoom: RESOLUTION,
physics: {
default: 'impact'
},
default: "arcade",
arcade: {
debug: true
}
}
};
let game = new Phaser.Game(config);