Introduction to Video Game Engine Development: Learn to Design, Implement, and Use a Cross-Platform 2D Game Engine

  • 5h 15m
  • Victor G Brusca
  • Apress
  • 2021

Start your video game development journey by learning how to build a 2D game engine from scratch. Using Java (with NetBeans as your IDE and using Java’s graphics framework) or by following along in C# (with Visual Studio as your IDE and using the MonoGame framework), you’ll cover the design and implementation of a 2D game engine in detail. Each class will be reviewed with demonstration code. You’ll gain experience using the engine by building a game from the ground up.

Introduction to Video Game Engine Development reviews the design and implementation of a 2D game engine in three parts. Part 1 covers the low-level API class by class. You’ll see how to abstract lower-level functionality and design a set of classes that interact seamlessly with each other. You’ll learn how to draw objects, play sounds, render text, and more. In Part 2, you’ll review the mid-level API that is responsible for drawing the game, loading resources, and managing user input. Lastly, in Part 3, you’ll build a game from the ground up following a step-by-step process using the 2D game engine you just reviewed.

On completing this book, you’ll have a solid foundation in video game engine design and implementation. You’ll also get exposure to building games from scratch, creating the solid foundation you’ll need to work with more advanced game engines, and industry tools, that require learning complex software, APIs, and IDEs.

You will:

  • Gain experience with lower-level game engine APIs and abstracting framework functionality
  • Write application-level APIs: launching the game, loading resources, settings, processing input, and more
  • Discover cross-platform APIs in the game engine projects written in both Java and C#/MonoGame
  • Develop games with an SDK-based game engine and simplified tool chain focused on direct control of the game through code
  • Master creating games by using the game engine to build a game from the ground up with only code and an IDE

About the Author

Victor Brusca is an experienced software developer specializing in building cross-platform applications and APIs. He regards himself as a self-starter with a keen eye for detail, an obsessive protection of systems/data, and a desire to write well-documented, well-encapsulated code. With over 14 years' software development experience, he has been involved in game and game engine projects on J2ME, T-Mobile SideKick, WebOS, Windows Phone, Xbox 360, Android, iOS, and web platforms.

In this Book

  • MmgBase API Introduction
  • Base Classes
  • Helper Classes
  • Other Classes
  • Advanced Classes
  • Widget Classes
  • Animation Classes
  • Game Screen Classes
  • MmgCore API Introduction
  • Static Main Entry Point
  • Dynamic Settings
  • Event Handlers
  • Resource Loading
  • Game Screens
  • Game Build Introduction
  • PongClone Project Setup
  • PongClone Main Menu Screen
  • PongClone Game Screen
  • Conclusion