Skip to main content
  • Book
  • © 2019

Let’s Build a Multiplayer Phaser Game

With TypeScript, Socket.IO, and Phaser

Apress

Authors:

  • Teaches you how to craft a multiplayer game with TypeScript, web sockets, and Phaser

  • Provides a starting point for beginning and intermediate users to create multiplayer games for the browser

  • Shows you how to use your newly acquired skills to add your own twists to the game

Buy it now

Buying options

eBook USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (11 chapters)

  1. Front Matter

    Pages i-xiii
  2. Introduction

    • Oscar Lodriguez
    Pages 1-3
  3. Setting Up Our Development Environment

    • Oscar Lodriguez
    Pages 5-11
  4. Orchestrating Our Domain Model

    • Oscar Lodriguez
    Pages 13-24
  5. Implementing Our Game Domain Models

    • Oscar Lodriguez
    Pages 25-48
  6. Seeing It In Action

    • Oscar Lodriguez
    Pages 49-56
  7. Projectiles!

    • Oscar Lodriguez
    Pages 57-81
  8. Hooking Up Our Server

    • Oscar Lodriguez
    Pages 83-109
  9. The World Should Remember Your Name

    • Oscar Lodriguez
    Pages 111-124
  10. Bonus! Refactoring & Asteroids

    • Oscar Lodriguez
    Pages 125-145
  11. Further Reading And Discovery

    • Oscar Lodriguez
    Pages 147-148
  12. Back Matter

    Pages 149-151

About this book

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

Authors and Affiliations

  • NIEUW-VENNEP, Noord-Holland, The Netherlands

    Oscar Lodriguez

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.

Bibliographic Information

Buy it now

Buying options

eBook USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access