tutorial-phaser
Tutorial: Real-time Multiplayer with Phaser and Colyseus
TypeScript★ 75⑂ 27 forksupdated 6 months ago
README.mdfork it — it’s yours
Phaser: Real-time Multiplayer with Colyseus
Full source-code for the step-by-step tutorial on how to use Phaser + Colyseus together.
How to run the server
- Download and install Node.js LTS
- 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 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.
License
- Source-code is licensed under MIT License.
- The assets are licensed under CC0 1.0 Universal.
more like this
startup-monorepo-fastify-phaser-colyseus-threejs
A repository about starting from scratch for monorepo, fastify, Phaser, colyseus, and threejs.
TypeScript★ 50