Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/colyseus/tutorial-phaser
Tutorial: Real-time Multiplayer with Phaser and Colyseus
https://github.com/colyseus/tutorial-phaser
colyseus phaser phaser-tutorial tutorial
Last synced: 2 days ago
JSON representation
Tutorial: Real-time Multiplayer with Phaser and Colyseus
- Host: GitHub
- URL: https://github.com/colyseus/tutorial-phaser
- Owner: colyseus
- Created: 2022-04-12T17:06:58.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-05T11:53:56.000Z (2 months ago)
- Last Synced: 2025-01-02T13:17:03.655Z (3 days ago)
- Topics: colyseus, phaser, phaser-tutorial, tutorial
- Language: TypeScript
- Homepage: https://colyseus.io/learn/phaser/
- Size: 2.87 MB
- Stars: 55
- Watchers: 6
- Forks: 16
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Phaser: Real-time Multiplayer with Colyseus
Full source-code for the step-by-step tutorial on how to use Phaser + Colyseus together.
- [Live Demo](https://colyseus-phaser-tutorial.glitch.me/)
- [See step-by-step Tutorial](https://colyseus.io/learn/phaser/)
- [See Colyseus documentation](https://docs.colyseus.io/)## How to run the **server**
- Download and install [Node.js LTS](https://nodejs.org/en/download/)
- Clone or download this repository.
- Run the following commands:```
cd server
npm install
npm start
```The WebSocket server should be available locally at `ws://localhost:2567` ([http://localhost:2567](http://localhost:2567) should be accessible.)
## How to run the **client**
In a new Terminal tab, run the following commands:
```
cd client
npm install
npm start
```The client should be accessible at [`http://localhost:1234`](`http://localhost:1234`).
## License
- Source-code is licensed under MIT License.
- The [assets](https://www.kenney.nl/assets/pixel-shmup) are licensed under [CC0 1.0 Universal](https://creativecommons.org/publicdomain/zero/1.0/).