© Oscar Lodriguez 2019
Oscar LodriguezLet’s Build a Multiplayer Phaser Gamehttps://doi.org/10.1007/978-1-4842-4249-0_7

7. Hooking Up Our Server

Oscar Lodriguez1 
(1)
NIEUW-VENNEP, Noord-Holland, The Netherlands
 

In this chapter, we shall be discussing how we are going to set up the server along with socket communication as our internet protocol between the server and client. We will then create and register the player through the server and generate pickups/power-ups with random coordinates for the player to pick up.

Code for this chapter is found on GitHub ( https://github.com/code0wl/Multiplayer-Phaser-game/tree/chapter/6 ). We have come a long way space marine! I am afraid we are just halfway through our long journey.

On to the Server Side of Things! ...

Get Let’s Build a Multiplayer Phaser Game: With TypeScript, Socket.IO, and Phaser now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.