O'Reilly logo

Building iOS 5 Games: Develop and Design by James Sugrue

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

3. Using OpenGL

Prior to iOS 5, OpenGL ES could be a challenge. Apple supplied a “boilerplate” template to get you started, but an in-depth knowledge of OpenGL ES was required for even the simplest of tasks. Many developers who wanted to add OpenGL to their projects were put off, and many developers simply avoided creating games.

Starting with iOS 5—and limited to the devices that run it—Apple introduced GLKit, a framework that simplifies creating OpenGL ES 2.0 apps, and makes it easier to port OpenGL ES 1.1 apps to 2.0.

Although it neglects older iOS devices, including any device prior to the iPhone 3GS, OpenGL ES 2.0 is currently the best platform choice for the foreseeable future.

In this chapter, you will apply OpenGL ES and Xcode to create ...

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