ZaK3939 / tutorial-phaser

Tutorial: Real-time Multiplayer with Phaser and Colyseus

Home Page:https://learn.colyseus.io/phaser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Tutorial: Real-time Multiplayer with Phaser and Colyseus

https://learn.colyseus.io/phaser


Languages

Language:TypeScript 96.7%Language:HTML 3.3%