Fix scaling and controls for desktop displays
- Remove max scale bounds to support unlimited display sizes (4K, 8K, ultrawide) - Remove duplicate width/height from scale config to fix desktop scaling - Fix HuntingScene to default to mouse mode on all platforms (was incorrectly starting in keyboard mode on desktop) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -22,18 +22,11 @@ const config = {
|
||||
scale: {
|
||||
mode: Phaser.Scale.FIT,
|
||||
autoCenter: Phaser.Scale.CENTER_BOTH,
|
||||
width: 800,
|
||||
height: 600,
|
||||
min: {
|
||||
width: 320,
|
||||
height: 240
|
||||
},
|
||||
max: {
|
||||
width: 1920,
|
||||
height: 1080
|
||||
},
|
||||
fullscreenTarget: 'game-container',
|
||||
expandParent: false
|
||||
fullscreenTarget: 'game-container'
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user