Tom
A complete pixel-art mini-game demonstrating scene management, Arcade Physics, and communication between a UI overlay and the game scene via the Registry event bus. Includes keyboard controls, animated sprites, local storage for high scores, and RetroFont parsing.
1024 × 768
import Preloader from './Preloader.js';
import Play from './Play.js';
import Menu from './Menu.js';
import UI from './UI.js';
const config = {
scale: { mode: Phaser.Scale.FIT },
title: "TOM",
type: Phaser.AUTO,
parent: "game-container",
width: 640,
height: 360,
pixelArt: true,
physics: {
default: "arcade",
"arcade": {
gravity: {
y: 2000
}
}
},
scene: [
Preloader,
UI,
Play,
Menu
]
};
new Phaser.Game(config);