One of the simplest game mechanics is to let the player find a hidden object. Games based on this take many forms: Where’s Waldo, Peek-A-Boo, Spot the Difference, Hide and Seek, and of course Hidden Object. In this Active Premium Tutorial, I’ll show you two methods for obscuring a scene so that the player can uncover it later.
In the first, you’ll cover an image with balloons which the player can pop by clicking. In the second, you’ll use BitmapData to create a virtual scratchcard.