وبلاگ بلیان

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

معرفی کتاب «Let's Build a Multiplayer Phaser Game : With TypeScript, Socket. IO, and Phaser» نوشتهٔ Rainer Zitelmann، Helmut Bogler، Sebastian Taylor و Oscar Lodriguez، منتشرشده توسط نشر Apress : Imprint: Apress در سال 2019. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است.

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 5 About the Author 9 About the Technical Reviewer 10 Acknowledgments 11 Chapter 1: Introduction 12 Who This Book Is For 12 How to Approach This Book 13 What the Heck Are We Building Together? 14 Chapter 2: Setting Up Our Development Environment 15 Setting up Our Development Environment 15 Node.js 16 Git 16 The Main Ingredient 17 Editors 17 Running the Project 18 Running the Project in Dev Mode 19 Our Front-End Architecture 19 Our Folder Structure 20 Conclusion 21 Chapter 3: Orchestrating Our Domain Model 22 The Building Blocks 23 Creating Our First Model 24 The Player Model 25 The Keyboard Model 26 Creating Our Directories 30 Directory Construction 31 Conclusion 33 Chapter 4: Implementing Our Game Domain Models 34 About Phaser 34 Talking About Phaser... 36 Finally, Some Code! 36 The Player Model 41 Phaser Arcade Physics 44 The Game Model 49 The Keyboard Model 52 Conclusion 57 Chapter 5: Seeing It In Action 58 Hooking it All up Together 58 Conclusion 65 Chapter 6: Projectiles! 66 Pickup 67 Additional Folder Structure 67 Making it to the Big Screen 73 Overlap 75 Gimme the Gun! 75 Updating the Game 77 Updating the Keyboard with a Fire! 80 The HUD 83 Conclusion 90 Chapter 7: Hooking Up Our Server 91 On to the Server Side of Things! 91 Models and Events 92 Models 92 Events 92 Setting up Our Static File Server 94 Socket Connection 96 Back to the Client 106 Marvelous Explosions! 114 Conclusion 117 Chapter 8: The World Should Remember Your Name 118 Login 118 Congratulations! 131 Chapter 9: Bonus! Refactoring & Asteroids 132 Adding More Features 132 Refactoring 132 Asteroids! 137 Conclusion 152 Chapter 10: Further Reading And Discovery 153 Other Phaser Resources 153 Index 155 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 Front Matter ....Pages i-xiii Introduction (Oscar Lodriguez)....Pages 1-3 Setting Up Our Development Environment (Oscar Lodriguez)....Pages 5-11 Orchestrating Our Domain Model (Oscar Lodriguez)....Pages 13-24 Implementing Our Game Domain Models (Oscar Lodriguez)....Pages 25-48 Seeing It In Action (Oscar Lodriguez)....Pages 49-56 Projectiles! (Oscar Lodriguez)....Pages 57-81 Hooking Up Our Server (Oscar Lodriguez)....Pages 83-109 The World Should Remember Your Name (Oscar Lodriguez)....Pages 111-124 Bonus! Refactoring & Asteroids (Oscar Lodriguez)....Pages 125-145 Further Reading And Discovery (Oscar Lodriguez)....Pages 147-148 Back Matter ....Pages 149-151 "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 tape into physics, and how to utilize HUD information and fire lasers...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." -- back of cover
دانلود کتاب Let's Build a Multiplayer Phaser Game : With TypeScript, Socket. IO, and Phaser