This repo includes all 9 games from the Phaser By Example book. All the games use Vite for bundling.
cd project_name
npm install
npm run dev
For multiplayer examples, you need to build the client first, then run the Node.js server:
npm run build
node server.js
You can find new versions of these examples converted to TypeScript and Phaser v4 here: https://github.com/halfmonty/phaserdeno
We love to see what developers like you create with Phaser! It really motivates us to keep improving. So please join our community and show-off your work 😄
Visit: The Phaser website and follow on Phaser Twitter
Play: Some of the amazing games #madewithphaser
Learn: API Docs, Support Forum
Discord: Join us on Discord
Code: 2000+ Examples
Created by Phaser Studio. Powered by coffee, anime, pixels, and love.
The Phaser logo and characters are © 2011 - 2025 Phaser Studio Inc.
All rights reserved.