From cfed5503ac7dfcfa30ac2603e47bb4720c85d9a5 Mon Sep 17 00:00:00 2001 From: Thomas Richter Date: Mon, 15 Dec 2025 03:50:54 +0100 Subject: [PATCH] Speed up ocean movement by 10x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Increased camera time increment from 0.01 to 0.1 - Ocean sway now completes full cycle in ~1 second (was ~10 seconds) - Much more dynamic and challenging hunting conditions - Simulates fast-moving rough seas 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- src/scenes/HuntingScene.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scenes/HuntingScene.js b/src/scenes/HuntingScene.js index c0d46c6..4b436c3 100644 --- a/src/scenes/HuntingScene.js +++ b/src/scenes/HuntingScene.js @@ -503,7 +503,7 @@ export default class HuntingScene extends Phaser.Scene { this.time.addEvent({ delay: 16, // ~60fps callback: () => { - this.cameraTime += 0.01; + this.cameraTime += 0.1; // Faster oscillation (~1 second period) // Smooth sine wave movement for natural ocean sway const swayX = Math.sin(this.cameraTime) * 25; // 25 pixels horizontal sway