phaserjs / phaser-by-example

The source code to the games that go with the Phaser by Example book

Home Page:https://phaser.io/news/2024/04/phaser-by-example-book

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Phaser By Example

alt text

This repo is including all the 9 games written in the Phaser By Example book. All the games use Vite for bundling.

Get the book here!

Installation:

cd project_name
npm install
npm run dev

For multiplayer examples, you need to have a build of client first, then run the Node.js server.

npm run build
node server.js

Join the Phaser Community!

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 and StackOverflow
Discord: Join us on Discord
Code: 2000+ Examples
Read: The Phaser World Newsletter

Created by Phaser Studio. Powered by coffee, anime, pixels and love.

The Phaser logo and characters are © 2011 - 2024 Phaser Studio Inc.

All rights reserved.

About

The source code to the games that go with the Phaser by Example book

https://phaser.io/news/2024/04/phaser-by-example-book


Languages

Language:JavaScript 95.6%Language:HTML 3.1%Language:CSS 1.4%