экран ещё

This commit is contained in:
2021-04-17 13:55:05 +03:00
parent e3a39c18f5
commit 8f10a8e124
2 changed files with 11 additions and 5 deletions

View File

@@ -16,8 +16,9 @@
scale: {
width: 800,
height: 600,
expandParent: true,
mode: Phaser.Scale.ENVELOP,
parent: document.getElementById("родитель"),
//mode: Phaser.Scale.ENVELOP,
mode: Phaser.Scale.RESIZE,
autoCenter: Phaser.Scale.CENTER_BOTH,
},
physics: {