dorkhub

tutorial-phaser

Tutorial: Real-time Multiplayer with Phaser and Colyseus

colyseus
TypeScript7527 forksupdated 6 months ago
visit the demogit clone https://github.com/colyseus/tutorial-phaser.gitcolyseus/tutorial-phaser

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

more like this

FyWorld

FyWorld - Base-Building / Simulation Game & Tutorial in Unity

C#331

search

search projects, people, and tags