diff --git a/images/png/pillar.png b/images/png/pillar.png new file mode 100644 index 0000000..3031f56 Binary files /dev/null and b/images/png/pillar.png differ diff --git a/public/sprite/pillar.webp b/public/sprite/pillar.webp new file mode 100644 index 0000000..25df784 Binary files /dev/null and b/public/sprite/pillar.webp differ diff --git a/src/game/gameScene.js b/src/game/gameScene.js index 72eaf07..116b14d 100644 --- a/src/game/gameScene.js +++ b/src/game/gameScene.js @@ -48,6 +48,7 @@ export class GameScene extends Phaser.Scene { this.load.image("level1", "/sprite/level1.webp"); this.load.image("lyre", "/sprite/lyre.webp"); this.load.image("cloud", "/sprite/clouds.webp"); + this.load.image("pillar", "/sprite/pillar.webp"); this.load.spritesheet("wind", "/sprite/wind.png", { frameWidth: textureWidth }); this.load.spritesheet("uriel", "/sprite/uriel.png", { frameWidth: textureWidth }); this.load.spritesheet("michael", "/sprite/michael.png", { frameWidth: textureWidth }); diff --git a/src/game/maps.js b/src/game/maps.js index 0998a65..2d0d897 100644 --- a/src/game/maps.js +++ b/src/game/maps.js @@ -6,7 +6,7 @@ function wind(direction) { } const pillar = { - type: "cloud", + type: "pillar", destroyable: false }