وبلاگ بلیان

Game Development with MonoGame : Build a 2D Game Using Your Own Reusable and Performant Game Engine

معرفی کتاب «Game Development with MonoGame : Build a 2D Game Using Your Own Reusable and Performant Game Engine» نوشتهٔ Louis Salin و Rami Morrar، منتشرشده توسط نشر Apress L. P. در سال 2021. این کتاب در 200 صفحه، فرمت pdf، زبان انگلیسی ارائه شده است. «Game Development with MonoGame : Build a 2D Game Using Your Own Reusable and Performant Game Engine» در دستهٔ برنامه‌نویسی قرار دارد.

Create a polished game that includes many levels and fights using MonoGame. This book will show you how to add AI agents and 2D physics into your game, while improving the performance of the game engine. By the end of __Game Development with MonoGame__, you will have created a game worthy of being published. Over the course of this book, you will be exposed to advanced game development concepts such as scripting and AI as you improve the performance of the game engine with better memory management. You will learn how to create a level editor that you will use to build game levels. You will also pick up tips and tricks for adding polish to your game project by adding a camera system, layers, menus, and improving the game’s graphics using pixel shaders and better particle effects. Upon completing this book, you will have a clear understanding of the steps required to build a game from start to finish and what it takes to create a 2D game that could ultimately be published. **What You Will Learn** * Write a performant 2D game engine * Script the behavior of game objects * Build and use a level editor for your game * Add a UI to your game **Who Is This Book For** Intermediate to advanced C# developers with knowledge of MonoGame. Basic knowledge of how to install and use the 2D capabilities of MonoGame is required, along with knowledge on how to use the content pipeline tool. Table of Contents 5 About the Authors 9 About the Technical Reviewer 10 Acknowledgments 11 Introduction 12 Chapter 1: Game Performance 13 Measuring Game Performance 14 Inspecting the Game Performance 17 The GameTime Class 26 Controlling the Game’s FPS Settings 27 Using Object Pools 29 Conclusion 36 Chapter 2: The Content Pipeline Tool 37 The Content Pipeline Tool 38 The Content Importer 40 The Content Processor 42 The Content Writer 45 The Content Reader 46 Extending the Content Pipeline Tool 48 Creating a Pipeline Extension 48 Adding Logic to Your Extension 52 Loading and Saving Assets 53 Adding Animations to the Content Pipeline 57 Creating the XML Template 60 Creating the TurnLeft Animation Asset 63 Internationalizing Game Text 66 Conclusion 72 Chapter 3: Cameras and Layers 73 Cameras 74 How Cameras Work 76 Adding a Camera to Your Game 80 Making the Camera Travel Up with the Player 84 Conclusion 90 Chapter 4: Level Editor 91 MonoGame.Forms 92 How the Editor Works 93 Creating the GameEditor Project 94 Installing MonoGame.Forms 95 Creating the MonoGame Control 96 Asset Management 99 Using a Better Set of Tiles and Game Objects 101 The MonoGameControl Class 103 Building Your Editor 104 Setting the Stage 106 Adding a Camera 106 Using an Atlas for Your Ground Tiles 111 Adding, Moving, and Removing Objects from Levels 114 Drawing Items on the Screen 121 Adding Game Events 125 Conclusion 130 Chapter 5: Scripting 131 What Is Scripting? 131 Sprite Animation and Sound 132 What Is a Shader? 145 Pausing the Game 147 Circle Struct 148 Displaying Health 151 Setting Up For Debugging 154 Conclusion 157 Chapter 6: Enemy AI and Algorithms 158 Essential Mathematics for Game Movement Logic 159 Sine 160 Circular Motions Using Sine and Cosine 163 Using The Distance Formula To Enable Behavior 165 Other Non-Linear Motion 167 Interactions with the Player 172 Bosses and Patterns 174 Conclusion 180 Chapter 7: Game State and Gamepad Input 181 Gamepad Detection 181 Game States 185 Conclusion 187 Chapter 8: Packaging The Game with Bells and Whistles 188 Loading in Music and Sound Effects 188 Making a Particle Emitter 190 Lists and What They Do 197 Actual Physics and the Amount of Particles Swaying 197 Packaging The Game 198 Conclusion 199 Chapter 9: Tying It All Together 201 Websites For Collaboration and Assets 201 Itch.io 201 GamedevMarket.net 202 OpenGameArt 202 MonoGame.Net 202 In Conclusion 202 Index 203
دانلود کتاب Game Development with MonoGame : Build a 2D Game Using Your Own Reusable and Performant Game Engine