From 8f10a8e124470f2d690afdc1a0f50ddfdfe98333 Mon Sep 17 00:00:00 2001 From: Michael Kapelko Date: Sat, 17 Apr 2021 13:55:05 +0300 Subject: [PATCH] =?UTF-8?q?=D1=8D=D0=BA=D1=80=D0=B0=D0=BD=20=D0=B5=D1=89?= =?UTF-8?q?=D1=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- К/index.html | 11 ++++++++--- К/игра/011.phaser.js | 5 +++-- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/К/index.html b/К/index.html index 62e91a5..7c158de 100644 --- a/К/index.html +++ b/К/index.html @@ -5,15 +5,20 @@ КОЛОБОК 0.1.0 +
diff --git a/К/игра/011.phaser.js b/К/игра/011.phaser.js index 457112c..6231522 100644 --- a/К/игра/011.phaser.js +++ b/К/игра/011.phaser.js @@ -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: {