From db41410983a371b56b4d8cf57120c388c2c361af Mon Sep 17 00:00:00 2001 From: Thomas Richter Date: Wed, 17 Dec 2025 04:05:49 +0100 Subject: [PATCH] Adjust barrel vertical alignment to deck surface MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Move barrels from deckBottomY + 40 to deckBottomY - 10 - Barrels now sit on deck surface instead of below it - Better vertical alignment with deck planks 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- src/scenes/ShipDeckScene.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scenes/ShipDeckScene.js b/src/scenes/ShipDeckScene.js index 81c04cf..a0e7082 100644 --- a/src/scenes/ShipDeckScene.js +++ b/src/scenes/ShipDeckScene.js @@ -105,7 +105,7 @@ export default class ShipDeckScene extends Phaser.Scene { const groupWidth = (Math.min(barrelCount, barrelsPerRow) * horizontalSpacing); const leftHalfCenter = this.deckLeftX + (this.deckWidth / 4); const baseX = leftHalfCenter - (groupWidth / 2) + (horizontalSpacing / 2); - const baseY = this.deckBottomY + 40; + const baseY = this.deckBottomY - 10; // Create barrels in stacking pattern for (let i = 0; i < barrelCount; i++) { @@ -156,7 +156,7 @@ export default class ShipDeckScene extends Phaser.Scene { const groupWidth = (Math.min(barrelCount, barrelsPerRow) * horizontalSpacing); const rightHalfCenter = this.deckCenterX + (this.deckWidth / 4); const baseX = rightHalfCenter - (groupWidth / 2) + (horizontalSpacing / 2); - const baseY = this.deckBottomY + 40; + const baseY = this.deckBottomY - 10; // Create barrels in stacking pattern for (let i = 0; i < barrelCount; i++) {