Snowmen Attack
A lane-based defense game featuring track-based movement, enemy AI state management, and projectile physics. Demonstrates horizontal lane switching, weighted random enemy behaviors, custom animation event callbacks, and collision handling within specific track groups.
1024 × 768
const config = {
scale: { mode: Phaser.Scale.FIT },
type: Phaser.AUTO,
width: 1024,
height: 768,
backgroundColor: '#3366b2',
parent: 'game-container',
scene: [ Boot, Preloader, MainMenu, MainGame ],
physics: {
default: 'arcade',
arcade: { debug: false }
}
};
let game = new Phaser.Game(config);