CHAPTER 8

image

Creating Your Actor Engine: Design the Characters for Your Game and Define Their Capabilities

Now that we have created the game play timing loop in Chapter 7, let’s get into some scratch coding here in Chapter 8, and create the public abstract class framework that we can use to create the different types of sprites that we will be using in our InvinciBagel game. This essentially equates to your “Actor Engine” for your game, as you’ll define and design the various types of game components that your game will include as actors, and these two classes will be used to create all of the other classes that will be used to create the objects ...

Get Beginning Java 8 Games Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.