13. The Game Interface

This chapter covers the interface elements of Sir Lamorak’s Quest, including how the different interfaces were built and implemented. There are two types of interface in Sir Lamorak’s Quest. The first type is those built using OpenGL ES, such as the main menu and main game interfaces. The second type is those built using UIKit controls, such as UISlider and UIButton inside their own UIView. These interfaces, for example, are used for displaying and handling the settings within the game, such as volume and joypad position.

This chapter also covers how these interfaces handle rotation of the device. This is not always as easy as it sounds, so we review the approach taken to handle this within Sir Lamorak’s Quest.

Game Interface ...

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.