From 7e1a2de6aab7ba7bcf6e2382bf9ebe2c66a44f36 Mon Sep 17 00:00:00 2001 From: Thomas Richter Date: Wed, 17 Dec 2025 05:25:44 +0100 Subject: [PATCH] Add debug lines for ship's wheel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Green crosshair at wheel center - Bounding box showing wheel dimensions - Helps visualize wheel positioning 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- src/scenes/ShipDeckScene.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/scenes/ShipDeckScene.js b/src/scenes/ShipDeckScene.js index 4c36c54..7f5f06d 100644 --- a/src/scenes/ShipDeckScene.js +++ b/src/scenes/ShipDeckScene.js @@ -252,6 +252,17 @@ export default class ShipDeckScene extends Phaser.Scene { // Open the map scene this.scene.start('MapScene', { inventory: this.inventory }); }); + + // Debug: Draw lines for wheel positioning + const debugLines = this.add.graphics(); + debugLines.lineStyle(2, 0x00FF00, 0.8); + + // Center crosshair + debugLines.lineBetween(550 - 50, 200, 550 + 50, 200); // Horizontal + debugLines.lineBetween(550, 200 - 50, 550, 200 + 50); // Vertical + + // Bounding box (radius 40) + debugLines.strokeRect(550 - 40, 200 - 40, 80, 80); } createInventoryDisplay() {