A tutorial on creating a simple multiplayer game with Phaser 3 and Socket.io, with Phaser headless running on the Authoritative Server.

Article by Richard Davey. Posted on 6th Mar 2019.   @photonstorm

image

Zenva have published a new tutorial based on running Phaser in headless mode for a multi-player game: "In this multi-part tutorial, we will be creating a simple multiplayer game with Phaser and Socket.io. For our multiplayer game, we will follow the client-server game architecture and we will be setting up Phaser to run on our server and we will be using that as an authoritative server. If you are not familiar with the client-server game architecture, it goes like this: the client is responsible for displaying the game to the player, handling the player’s input, and for sending that data to the server. Our authoritative server will be responsible for running the main Phaser logic, and it will be responsible for sending the data to each client.

The goal of this tutorial is to teach you the basics of creating a multiplayer game with an authoritative server."

Read More