Real-Time Server Communication with Socket.IO [2019]

This course has been archived and is no longer supported. For our latest courses on web development or HTML5 game development, consider trying our evergreen curriculums with a 1-Year Unlimited Access Package.

Develop a client-server relationship between your Phaser games and Express server APIs for a multiplayer game experience. In this course, we will walk you through using Socket.IO, a JavaScript library, to establish bi-directional, real-time communications between game clients across a server. Through this, you will be able to take a client-side RPG and turn it into a true MMORPG that communicates player actions and more across multiple instances of the game for every player.

You will learn how to:

  • Alter an Express server to use Socket.IO connections and messages
  • Set up a game manager to control game logic from the server
  • Control how players spawn and despawn upon joining or disconnecting from the server
  • Communicate player movement, attacking, and more across multiple game instances
  • Spawn chests, monsters, and more using the server to sync changes
  • Implement basic PVP mechanics

Knowledge with using Node.js, NPM, Phaser, Docker, Webpack, and Babel.

Tools and Frameworks

Phaser 3.16.2, Web Server for Chrome 0.4.8, Socket.IO 2.2.0, Node.js 11.6.0, npm 6.5.0, Express 4.17.1, Postman, Nodemon 1.18.10, Body-Parser 1.19, Cookie-Parser 1.4.4, Passport.js 0.4.0, MongoDB Shell 4.0.10, Mongoose 5.5.15, Nodemailer 6.2.1, bCrypt 3.0.6, JSON Web Tokens 8.5.1, Webpack 4.36.1, Babel 7.5.0, ESLint 6.1.0, Docker 18.09.2, Docker Compose 1.23.3

Buy Now For $50

OR access ALL Zenva courses with our subscription.

  • Access all 300+ courses
  • New courses added monthly
  • Cancel anytime
  • Certificates of completion

Subscribe

LUNAR NEW YEAR SALE - Get 60% off the annual plan! Claim Offer
+
Don't miss out! Offer ends in