diff --git a/index.html b/index.html index cedc6e4..85990f3 100644 --- a/index.html +++ b/index.html @@ -8,6 +8,38 @@
+ diff --git a/src/main.js b/src/main.js index 1a5a877..59d2acf 100644 --- a/src/main.js +++ b/src/main.js @@ -136,11 +136,11 @@ class ForestScene extends Phaser.Scene { g.clear(); g.fillStyle(0x35684b, 1); for (let i = 0; i < 5; i++) { - g.fillEllipse(17 + i * 2, 22 - i * 4, 9, 25, -0.7 + i * 0.25); + g.fillEllipse(17 + i * 2, 22 - i * 4, 9, 25); } g.fillStyle(0x6aa56d, 1); for (let i = 0; i < 4; i++) { - g.fillEllipse(12 + i * 6, 25 - (i % 2) * 6, 7, 19, 0.6 - i * 0.25); + g.fillEllipse(12 + i * 6, 25 - (i % 2) * 6, 7, 19); } g.generateTexture('fern', 42, 44); @@ -178,8 +178,8 @@ class ForestScene extends Phaser.Scene { g.clear(); g.fillStyle(0xb4d9f2, 0.9); - g.fillEllipse(8, 8, 12, 7, -0.45); - g.fillEllipse(16, 8, 12, 7, 0.45); + g.fillEllipse(8, 8, 12, 7); + g.fillEllipse(16, 8, 12, 7); g.fillStyle(0x3b3130, 1); g.fillEllipse(12, 9, 4, 10); g.generateTexture('butterfly', 24, 18); @@ -582,7 +582,7 @@ class ForestScene extends Phaser.Scene { } const config = { - type: Phaser.AUTO, + type: Phaser.CANVAS, parent: 'game', width: 1280, height: 720,