Real-Time Server Communication with Socket.IO

Course

Online

Price on request

Description

  • Type

    Course

  • Methodology

    Online

  • Start date

    Different dates available

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

Frameworks and tools covered: 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

Your Courses, Your Way

All of our project-based courses are designed to be flexible – you can access courses 24/7 to fit them around your schedule, and choose the learning materials that suit you best.

You can even download your course videos and watch them offline using the Zenva app, available on iOS and Android.

Learn from World-Class Instructors

Our course instructors participate in elite developer programs and have been recognized for their demonstrated excellence in development and teaching.

That way, you can be confident that you’re learning the most up-to-date content from industry experts.

Interactive Lessons with Codemurai

Facilities

Location

Start date

Online

Start date

Different dates availableEnrolment now open

About this course

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

Questions & Answers

Add your question

Our advisors and other users will be able to reply to you

Who would you like to address this question to?

Fill in your details to get a reply

We will only publish your name and question

Emagister S.L. (data controller) will process your data to carry out promotional activities (via email and/or phone), publish reviews, or manage incidents. You can learn about your rights and manage your preferences in the privacy policy.

Reviews

This centre's achievements

2021

All courses are up to date

The average rating is higher than 3.7

More than 50 reviews in the last 12 months

This centre has featured on Emagister for 4 years

Subjects

  • Server
  • Web
  • Project
  • Communication Training

Course programme

Introduction 1:22


Introduction 1:22



1:22

Project Setup 2:58


Project Setup 2:58



2:58

Socket.IO 4:51


Socket.IO 4:51



4:51

Setting up Socket Connections 7:29


Setting up Socket Connections 7:29



7:29

Sending Socket.IO Messages 9:49


Sending Socket.IO Messages 9:49



9:49

Game Manager - Part 1 7:49


Game Manager - Part 1 7:49



7:49

Game Manager - Part 2 6:41


Game Manager - Part 2 6:41



6:41

Spawning Players 7:29


Spawning Players 7:29



7:29

Player Movement 9:53


Player Movement 9:53



9:53

Player Attacking 9:15


Player Attacking 9:15



9:15

Parsing Level Data JSON 6:12


Parsing Level Data JSON 6:12



6:12

Create Spawners 6:36


Create Spawners 6:36



6:36

Spawning Chests 6:04


Spawning Chests 6:04



6:04

Attacking Monsters 7:21


Attacking Monsters 7:21



7:21

Player Disconnect 7:20


Player Disconnect 7:20



7:20

Attacking Other Players 9:59


Attacking Other Players 9:59



9:59

Conclusion 1:06


Conclusion 1:06



1:06

Additional information

On-demand, 24/7 access 1.9 hours of video Certificate of completion Source code and PDF notes Closed captions

Real-Time Server Communication with Socket.IO

Price on request