How to create a multiplayer game with Phaser, Node, Socket.io and Express.

Article by Richard Davey. Posted on 15th Sep 2017.   @photonstorm

image

"As the title suggests, this tutorial series will introduce the basic multiplayer game architecture, and run a complete tutorial on creating a browser-based multiplayer game similar to those already existing io games (agar.io, and slither.io) using Node.js for server side and Phaser.js for the client side. The Node.js server side will use Socket.io and Express.js for communication between client and server. The client side will specifically use the p2 physics for better collision detection. In this first part of the series we will setup the developing environment, connect multiple clients to the server, and implement player movements using mouse pointer. All player movements will be in sync at the end of this tutorial."

Read More