Speed up ocean movement by 10x

- 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 <noreply@anthropic.com>
This commit is contained in:
Thomas Richter
2025-12-15 03:50:54 +01:00
parent cd04e334bd
commit cfed5503ac

View File

@@ -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