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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user