From 68ddb1aef79c72b4132a8d399df4e415528b3bb8 Mon Sep 17 00:00:00 2001 From: Thomas Richter Date: Mon, 15 Dec 2025 03:59:26 +0100 Subject: [PATCH] Double whale movement oscillation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Increased horizontal whale movement from 15px to 30px - Increased vertical whale movement from 10px to 20px - Whale now bobs twice as much, increasing difficulty - Makes targeting more challenging 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- src/scenes/HuntingScene.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/scenes/HuntingScene.js b/src/scenes/HuntingScene.js index 71c9146..4a53e76 100644 --- a/src/scenes/HuntingScene.js +++ b/src/scenes/HuntingScene.js @@ -310,9 +310,9 @@ export default class HuntingScene extends Phaser.Scene { const baseX = whale.getData('baseX'); const baseY = whale.getData('baseY'); - // Gentle horizontal and vertical oscillation - const offsetX = Math.sin(bobTime) * 15; // 15 pixels horizontal movement - const offsetY = Math.cos(bobTime * 0.7) * 10; // 10 pixels vertical movement + // Horizontal and vertical oscillation + const offsetX = Math.sin(bobTime) * 30; // 30 pixels horizontal movement + const offsetY = Math.cos(bobTime * 0.7) * 20; // 20 pixels vertical movement whale.x = baseX + offsetX; whale.y = baseY + offsetY;