Full source-code for the step-by-step tutorial on how to use Phaser + Colyseus together.
- 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.)
In a new Terminal tab, run the following commands:
cd client
npm install
npm start
The client should be accessible at http://localhost:1234
.
- Source-code is licensed under MIT License.
- The assets are licensed under CC0 1.0 Universal.