Nicht aus der Schweiz? Besuchen Sie lehmanns.de
Let's Build a Multiplayer Phaser Game -  Oscar Lodriguez

Let's Build a Multiplayer Phaser Game (eBook)

With TypeScript, Socket.IO, and Phaser
eBook Download: PDF
2018 | 1st ed.
XIII, 151 Seiten
Apress (Verlag)
978-1-4842-4249-0 (ISBN)
Systemvoraussetzungen
46,99 inkl. MwSt
(CHF 45,90)
Der eBook-Verkauf erfolgt durch die Lehmanns Media GmbH (Berlin) zum Preis in Euro inkl. MwSt.
  • Download sofort lieferbar
  • Zahlungsarten anzeigen

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



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.


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 LearnDiscover the ins and outs of Socket.IO for real-time web communicationUse TypeScript to allow your project to be typed and self-documentingSee how gaming mechanics work to make a game entertainingGet a deeper understanding of how to structure your working directory and your codeScale what you have createdWho This Book Is ForDevelopers who want to know how to create and structure a complex online game

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.

Chapter 1:  Introduction Chapter Goal: How to approach this book 

Chapter 2: Setting Up Our Development Environment Chapter Goal: Getting started • Checking out Github and switching to the start branch • A simple hello world inside of our setup

Sub - Topics:      

1.   Where to start

1.   Setting up Node.js and Git

2.   The main ingredient

3.   Our Frontend architecture

4.   Our general architecture

Chapter 3: Orchastrating Our Domain Model Chapter Goal: Have a concise model to work with.

Sub - Topics:

1.  The building blocks

2.  Creating our first model

3.  The player model

4.  The Keyboard model

5. Putting it all together

6. Creating our directories

7. Directories construction tactics

Chapter 4: Implementing Our Game Domain Models Chapter Goal: Introduction to phaser and implementing our models

Sub - Topics:

1.       About Phaser

2.       Talking about Phaser…

3.       The Player model

4.       Phaser Arcade Physics

5.       The Game Model

6.       The Keyboard model

Chapter 5: Seeing It in Action! Chapter Goal: Alpha version of the game

Sub - Topics:

1.       Hooking it all up together

Chapter 6: Projectiles! Chapter Goal: Allow the gunships to fire!

Sub - Topics:

1.       Making it to the big screen

2.       Overlap

3.       Gimme the gun!

4.       More on Overlap

5.       Updating the keyboard with fire!

6.       The HUD

Chapter 7: Hooking Up Our Server Chapter Goal: The backend of things

Sub - Topics:

1.       On to the server side of things

2.       Models and events

3.       Setting up our static file server

4.       Socket connection

5.       Back to the client

6.       Marvellous explosions!

Chapter 8: The World Should Remember Your Name Chapter Goal: Authentication

Sub - Topics:

1.       Login

Chapter 9: Bonus! Chapter Goal: Cleaning up

Sub - Topics:

1.       Refactoring & Asteroids

2.       Adding more features

3.       Some more refactoring

4.       Asteroids!

Chapter 10: Further reading and discovery Chapter Goal: Where to go from here

Sub - Topics:

Other Phaser resources

Erscheint lt. Verlag 5.12.2018
Zusatzinfo XIII, 151 p. 8 illus.
Verlagsort Berkeley
Sprache englisch
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Software Entwicklung Spieleprogrammierung
Schlagworte game logic • JavaScript • multiplayer games • PHASER • Socket.io • TypeScript
ISBN-10 1-4842-4249-1 / 1484242491
ISBN-13 978-1-4842-4249-0 / 9781484242490
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 1,7 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich