на весь экран

This commit is contained in:
2021-04-17 13:27:00 +03:00
parent 74b5ce7093
commit bacfd2174c
2 changed files with 15 additions and 1 deletions

View File

@@ -35,8 +35,15 @@ align-items: center;
type: Phaser.AUTO,
width: 800,
height: 600,
parent: мир.областьОтрисовки,
backgroundColor: 0xfbfbfb,
scale: {
width: 800,
height: 600,
parent: мир.областьОтрисовки,
expandParent: true,
mode: Phaser.Scale.ENVELOP,
autoCenter: Phaser.Scale.CENTER_BOTH,
},
physics: {
default: "arcade",
arcade: {