diff --git a/src/shattered_sword/Scenes/GameLevel.ts b/src/shattered_sword/Scenes/GameLevel.ts index 0e5fcdf..945d4f3 100644 --- a/src/shattered_sword/Scenes/GameLevel.ts +++ b/src/shattered_sword/Scenes/GameLevel.ts @@ -504,7 +504,7 @@ export default class GameLevel extends Scene { this.healthLabel.textColor = Color.GREEN; this.healthLabel.font = "PixelSimple"; this.healthLabel.fontSize = 25; - this.healthBar = this.add.graphic(GraphicType.RECT, "UI", {position: new Vec2(100+150, 20), size: new Vec2(400, 10)}); + this.healthBar = this.add.graphic(GraphicType.RECT, "UI", {position: new Vec2(0, 0), size: new Vec2(0, 0)}); this.healthBar.borderColor = Color.BLACK; this.healthBar.borderWidth = 3; this.healthBar.color = Color.GREEN; @@ -525,7 +525,7 @@ export default class GameLevel extends Scene { this.shieldLabel.textColor = Color.ORANGE; this.shieldLabel.font = "PixelSimple"; this.shieldLabel.fontSize = 25; - this.shieldBar = this.add.graphic(GraphicType.RECT, "UI", {position: new Vec2(100+150, 50), size: new Vec2(400, 10)}); + this.shieldBar = this.add.graphic(GraphicType.RECT, "UI", {position: new Vec2(0, 0), size: new Vec2(0, 0)}); this.shieldBar.borderColor = Color.BLACK; this.shieldBar.borderWidth = 3; this.shieldBar.color = Color.ORANGE; @@ -1019,7 +1019,7 @@ export default class GameLevel extends Scene { this.currentSpeaker = this.story.texts[0].speaker; this.currentContent = this.story.texts[0].content; this.storyLayer.enable(); - this.storytextLabel =