O'Reilly logo

Creating Adventure Games for Teens by Jason Darby

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 14LOST AND FOUND

In this chapter, we will look at making a hidden object game called Adventures in Endapur. In the game, you will be cast as an explorer who has to search for a number of objects hidden within a ruined temple. The game consists of a single game screen that will contain all of the code needed to generate a list of objects, pick out those you want the player to find, and then disappear when the player has clicked on them.

The game has the following elements:

Images Objects: Objects are the key component of any hidden object game. In this example game, there are 16 objects, but you can easily increase this number to accommodate as ...

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