Double whale movement oscillation
- 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 <noreply@anthropic.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user