Skip to content

Commit 147bb60

Browse files
authored
Update app.js
1 parent 0f2d174 commit 147bb60

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

app.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
let config = {
2-
renderer: Phaser.AUTO,
3-
mode: Phaser.Scale.FIT,
4-
autoCenter: Phaser.Scale.CENTER_BOTH,
2+
type: Phaser.AUTO,
53
width: 800,
64
height: 600,
5+
scale: {
6+
mode: Phaser.Scale.FIT,
7+
autoCenter: Phaser.Scale.CENTER_BOTH
8+
},
79
physics: {
810
default: "arcade",
911
arcade: {

0 commit comments

Comments
 (0)