O'Reilly logo

Beginning Java 8 Games Development by Wallace Jackson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required