Let's Build a Multiplayer Phaser Game: With TypeScript, Socket.IO, and Phaser

  • 1h 7m
  • Oscar Lodriguez
  • Apress
  • 2019

Create a fully working multiplayer game from scratch using TypeScript, Socket.IO, 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 Socket.IO 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

Who This Book Is For

Developers who want to know how to create and structure a complex online game

About the Author

Oscar Lodriguez has been developing software as a freelancer for close to 13 years. During this time, he has worked with software giants such as Adyen, BNP Paribas, Ebay, Bol.com, Schiphol, and Backbase. He has a bachelor's degree in computer science and is a motivated and avid learner who stays up to date with web industry standards. He has written three books and speaks regularly at Golang/JavaScript meet-ups in and around Holland.

In this Book

  • Introduction
  • Setting Up Our Development Environment
  • Orchestrating Our Domain Model
  • Implementing Our Game Domain Models
  • Seeing it in Action
  • Projectiles!
  • Hooking Up our Server
  • The World Should Remember Your Name
  • Bonus! Refactoring & Asteroids
  • Further Reading and Discovery