14. Game Objects and Entities

We are now at the point where we need to start thinking about how to populate our game world with game objects and entities. Game objects are items in the game, such as energy pickups, parchment pieces, and animated tile map game objects (such as lamps). Game entities include the player (Sir Lamorak), the baddies roaming around the castle, the axe Sir Lamorak throws, and the castle’s doors that open and close on their own.

These entities and game objects form the backbone of the game play. How they interact with each other and the role they play in the game is important in bringing the game to life.

We know from the game design we covered in Chapter 1, “Game Design,” that we want the player to perform some basic ...

Get Learning iOS Game Programming 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.