One of a series of apps developed for the Flandra Science Center (Tucson,Az) that are based on existing Java-based games played on large touch screen museum displays. The apps were designed for iPad so they can be used by children at outreach events.
The master/menu view is an image of a village, with designated zones that when tapped display more information about village life.
An XML file from the original application contains the coordinates of polygons representing the interactive touch areas, and the associated village zones. This data is read in using the Google GData class, scaled to the iPad screen, and stored as Polygon and Target objects. When the user taps the screen the collection of Polygon targets is looped through, and if within the boundaries the appropriate Target detail view is launched. Certain Target views play video using the MPMoviePlayerController class.
To highlight the appropriate zones a NSTimer is initialised that loops through the list of Target objects and highlights each outer boundary using UIBezierPath.