Book description
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
Table of contents
- Cover
- Front Matter
- 1. Introduction
- 2. Setting Up Our Development Environment
- 3. Orchestrating Our Domain Model
- 4. Implementing Our Game Domain Models
- 5. Seeing It In Action
- 6. Projectiles!
- 7. Hooking Up Our Server
- 8. The World Should Remember Your Name
- 9. Bonus! Refactoring & Asteroids
- 10. Further Reading And Discovery
- Correction to: Let’s Build a Multiplayer Phaser Game
- Back Matter
Product information
- Title: Let’s Build a Multiplayer Phaser Game: With TypeScript, Socket.IO, and Phaser
- Author(s):
- Release date: December 2018
- Publisher(s): Apress
- ISBN: 9781484242490
You might also like
book
Modern Full-Stack Development: Using TypeScript, React, Node.js, Webpack, and Docker
Explore what React, Node, TypeScript, Webpack, and Docker have to offer individually, and how they all …
book
Game Development with Rust and WebAssembly
Write an endless runner game for the web in Rust and test, deploy, and debug your …
book
TypeScript Quickly
TypeScript is JavaScript with an important upgrade! By adding a strong type system to JavaScript, TypeScript …
book
TypeScript Microservices
Build robust microservice-based applications that are distributed, fault tolerant, and always available About This Book Learn …