O'Reilly logo

Learning iOS Game Programming by Michael Daley

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

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 ...

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