Skip to main content

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

  • Chapter
  • First Online:
Beginning Java 8 Games Development
  • 2624 Accesses

Abstract

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 (components) that are in your game. These would include things such as the InvinciBagel himself (the Bagel class), his adversaries (the Enemy class), all the treasure he looks for during the game (the Treasure class), things that are shot at him (the Projectile class), things that he navigates over and around (the Prop classes), all providing game objectives that InvinciBagel must try and achieve.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Wallace Jackson

About this chapter

Cite this chapter

Jackson, W. (2014). Creating Your Actor Engine: Design the Characters for Your Game and Define Their Capabilities. In: Beginning Java 8 Games Development. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0415-3_8

Download citation

Publish with us

Policies and ethics