Skip to content

colyseus/tutorial-phaser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published