diff --git a/frontend/src/js/spear.ts b/frontend/src/js/spear.ts index 243172a2dd6a5d0903df8f7392d34f95f573107f..9e1bb6ade491ba053587f8033f917bb1be7de5e8 100644 --- a/frontend/src/js/spear.ts +++ b/frontend/src/js/spear.ts @@ -20,7 +20,8 @@ class Spear extends Phaser.Physics.Arcade.Sprite { this.play({ key: "spearAni", repeat: -1 }); scene.add.existing(this); - this.setScale(3); + // NOTE: a spear reaching shoulder height makes sense + this.setScale((scene.player.displayHeight * 0.8) / this.displayWidth); this.source = source; this.target = target;