diff --git a/index.html b/index.html index 2d1d43c..c71c9a4 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,13 @@ КОЛОБОК 0.1.0 + diff --git a/игра/011.phaser.js b/игра/011.phaser.js index 09c6c47..1329ff9 100644 --- a/игра/011.phaser.js +++ b/игра/011.phaser.js @@ -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: {