fix: whale stays longer (15s) and no pointer cursor

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Thomas Richter
2026-02-05 01:43:56 +01:00
parent c220ea4b53
commit 2ad205d495

View File

@@ -98,6 +98,7 @@ export default class DeepSeaHuntingScene extends Phaser.Scene {
// Whale body (large deep sea whale)
const body = this.add.ellipse(0, 0, 180, 70, 0x1a2a3a);
body.setStrokeStyle(2, 0x2a4a6a);
body.disableInteractive();
// Whale underbelly
const belly = this.add.ellipse(0, 10, 140, 40, 0x2a3a4a);
@@ -139,12 +140,12 @@ export default class DeepSeaHuntingScene extends Phaser.Scene {
ease: 'Sine.inOut'
});
// Move whale from entry to exit over 5 seconds
// Move whale from entry to exit over 15 seconds
this.tweens.add({
targets: whale,
x: exit.x,
y: exit.y,
duration: 5000,
duration: 15000,
ease: 'Sine.inOut',
onComplete: () => {
this.onWhaleExit(whale);