# phaser-by-example
**Repository Path**: majun_obm/phaser-by-example
## Basic Information
- **Project Name**: phaser-by-example
- **Description**: phaser-by-example ,2025-09-04导入
- **Primary Language**: JavaScript
- **License**: Not specified
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 1
- **Created**: 2025-09-05
- **Last Updated**: 2025-11-18
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Phaser By Example

This repo includes all _9_ games from the **Phaser By Example** book. All the games use Vite for bundling.
[Get the free book here!](https://phaser.io/news/2024/04/phaser-by-example-book)
#### Installation:
```bash
cd project_name
npm install
npm run dev
```
For multiplayer examples, you need to build the client first, then run the Node.js server:
```bash
npm run build
node server.js
```
## New TypeScript versions
You can find new versions of these examples converted to TypeScript and Phaser v4 here: https://github.com/halfmonty/phaserdeno
## 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](https://phaser.io) and follow on [Phaser Twitter](https://twitter.com/phaser_)
**Play:** Some of the amazing games [#madewithphaser](https://twitter.com/search?q=%23madewithphaser&src=typed_query&f=live)
**Learn:** [API Docs](https://docs.phaser.io), [Support Forum](https://phaser.discourse.group/)
**Discord:** Join us on [Discord](https://discord.gg/phaser)
**Code:** 2000+ [Examples](https://labs.phaser.io)
Created by [Phaser Studio](mailto:support@phaser.io). Powered by coffee, anime, pixels, and love.
The Phaser logo and characters are © 2011 - 2025 Phaser Studio Inc.
All rights reserved.