420a21e184
- Update CLAUDE.md with relationship system entry points, conventions, test count - Restore NPC info panel to 280px width with original font sizes - Add responsive scaling to Phaser game config - Bump CommandPanel font sizes Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
20 lines
475 B
TypeScript
20 lines
475 B
TypeScript
import Phaser from 'phaser';
|
|
import { BootScene } from './scenes/BootScene.js';
|
|
import { GameScene } from './scenes/GameScene.js';
|
|
|
|
const config: Phaser.Types.Core.GameConfig = {
|
|
type: Phaser.AUTO,
|
|
parent: 'game',
|
|
width: window.innerWidth,
|
|
height: window.innerHeight,
|
|
backgroundColor: '#1a1a2e',
|
|
pixelArt: true,
|
|
scale: {
|
|
mode: Phaser.Scale.RESIZE,
|
|
autoCenter: Phaser.Scale.CENTER_BOTH,
|
|
},
|
|
scene: [BootScene, GameScene],
|
|
};
|
|
|
|
new Phaser.Game(config);
|