A tutorial on creating a simple multiplayer game with Phaser 3 and Socket.io, with Phaser headless running on the Authoritative Server.
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."
The first book on the creation of HTML5 cross platform games using Phaser 3 and other free software.
- By Emanuele Feronato
- 155 Pages
- 28 Source Code Examples
- Build a complete game from start to finish
- Cross Platform
- Scaling for devices