From 74b5ce7093346dca0c349f40d2e574d9b26f6f9a 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:03:21 +0300 Subject: [PATCH] =?UTF-8?q?=D1=86=D0=B2=D0=B5=D1=82=20=D1=84=D0=BE=D0=BD?= =?UTF-8?q?=D0=B0=20=D0=BF=D1=80=D0=B8=20=D1=83=D1=81=D1=82=D0=B0=D0=BD?= =?UTF-8?q?=D0=BE=D0=B2=D0=BA=D0=B5=20phaser?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- игра/011.phaser.js | 1 + игра/111.изба.js | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/игра/011.phaser.js b/игра/011.phaser.js index 86aff12..09c6c47 100644 --- a/игра/011.phaser.js +++ b/игра/011.phaser.js @@ -36,6 +36,7 @@ align-items: center; width: 800, height: 600, parent: мир.областьОтрисовки, + backgroundColor: 0xfbfbfb, physics: { default: "arcade", arcade: { diff --git a/игра/111.изба.js b/игра/111.изба.js index fee6d02..444635d 100644 --- a/игра/111.изба.js +++ b/игра/111.изба.js @@ -17,9 +17,6 @@ СоздатьИзбу = мир => { - const камера = мир.сцена.cameras.main; - камера.backgroundColor = Phaser.Display.Color.HexStringToColor("#fbfbfb"); - мир.сцена.add.image(0, 0, "изба").setOrigin(0, 0); var полСлева = мир.каркас.create(0, 585, "основа").setOrigin(0, 0);