Add debug lines for ship's wheel
- 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 <noreply@anthropic.com>
This commit is contained in:
@@ -252,6 +252,17 @@ export default class ShipDeckScene extends Phaser.Scene {
|
|||||||
// Open the map scene
|
// Open the map scene
|
||||||
this.scene.start('MapScene', { inventory: this.inventory });
|
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() {
|
createInventoryDisplay() {
|
||||||
|
|||||||
Reference in New Issue
Block a user