From bacfd2174c16e35648061b3278d121e9d5a7909a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9A=D0=B0=D0=BF?= =?UTF-8?q?=D0=B5=D0=BB=D1=8C=D0=BA=D0=BE?= Date: Sat, 17 Apr 2021 13:27:00 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BD=D0=B0=20=D0=B2=D0=B5=D1=81=D1=8C=20?= =?UTF-8?q?=D1=8D=D0=BA=D1=80=D0=B0=D0=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 7 +++++++ игра/011.phaser.js | 9 ++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) 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: {