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.

Snowmen Attack, running
1024 × 768
GitHub
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);

More in Games12 examples