Let’s Build a Multiplayer Phaser Game

With TypeScript, Socket.IO, and Phaser

  • Oscar Lodriguez

Table of contents

  1. Front Matter
    Pages i-xiii
  2. Oscar Lodriguez
    Pages 1-3
  3. Oscar Lodriguez
    Pages 5-11
  4. Oscar Lodriguez
    Pages 13-24
  5. Oscar Lodriguez
    Pages 25-48
  6. Oscar Lodriguez
    Pages 49-56
  7. Oscar Lodriguez
    Pages 57-81
  8. Oscar Lodriguez
    Pages 83-109
  9. Oscar Lodriguez
    Pages 111-124
  10. Oscar Lodriguez
    Pages 125-145
  11. Oscar Lodriguez
    Pages 147-148
  12. Back Matter
    Pages 149-151

About this book


Create a fully working multiplayer game from scratch using TypeScript,, and the community edition of Phaser.js. You will achieve amazing feats in the browser without having to install any software. This book teaches you how to use the Phaser game engine APIs to tap into physics, and how to utilize HUD information and fire lasers.

Let’s Build a Multiplayer Phaser Game dives into the details to show you how to create a multiplayer game from beginning to end. Once you have finished this book, you will be well versed in creating not only a game, but also an application that you can extend with new functionality to enjoy with your friends.

What You'll Learn:

  • Discover the ins and outs of for real-time web communication
  • Use TypeScript to allow your project to be typed and self-documenting
  • See how gaming mechanics work to make a game entertaining
  • Get a deeper understanding of how to structure your working directory and your code
  • Scale what you have created


Phaser Typescript Multiplayer games JavaScript Game logic

Authors and affiliations

  • Oscar Lodriguez
    • 1
  1. 1.NIEUW-VENNEP, Noord-HollandThe Netherlands

Bibliographic information

Industry Sectors