Increase ocean sway for more dramatic movement

- Increased horizontal camera sway from 8px to 25px
- Increased vertical camera sway from 5px to 18px
- Creates much more challenging hunting conditions
- Simulates rougher 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:49:23 +01:00
parent 8ccd2cf3d1
commit cd04e334bd

View File

@@ -506,8 +506,8 @@ export default class HuntingScene extends Phaser.Scene {
this.cameraTime += 0.01;
// Smooth sine wave movement for natural ocean sway
const swayX = Math.sin(this.cameraTime) * 8; // 8 pixels horizontal sway
const swayY = Math.cos(this.cameraTime * 0.6) * 5; // 5 pixels vertical sway
const swayX = Math.sin(this.cameraTime) * 25; // 25 pixels horizontal sway
const swayY = Math.cos(this.cameraTime * 0.6) * 18; // 18 pixels vertical sway
// Apply to camera scroll
this.cameras.main.scrollX = swayX;