Beginning iOS 5 Games Development

Using the iOS SDK for iPad, iPhone and iPod touch

By Lucas Jordan

Beginning iOS 5 Games Development Cover Image

Beginning iOS 5 Games Development provides a clear path for you to create game apps using the iOS 5 SDK platform for the iPad, iPhone, and iPad touch. You'll learn how to use classes to create games, including graphics, and animations.

Full Description

  • ISBN13: 978-1-4302-3710-5
  • 344 Pages
  • User Level: Beginner to Intermediate
  • Publication Date: November 22, 2011
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $39.99
  • eBook Price: $27.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

Game apps on iPhone and now iPad remain one of the most popular type of apps in the Apple iTunes App Store. Does Angry Birds ring a bell? What you were once able to do just for the iPhone (and iPod touch) is now possible for the popular iPad, using the new iOS 5 SDK.

Beginning iOS 5 Games Development provides a clear path for you to create games using the iOS 5 SDK platform for the iPad, iPhone, and iPad touch. You'll learn how to use classes to create game apps, including graphics, and animations. The latest version of Xcode will be used in parts of the book to guide you along the way of building your apps.

Other topics include iOS 5 game apps development with the newest iOS Game Center update, persisting user data, and designing a compelling user experience. After reading this book, you'll come away with the skills and techniques for building a game app, top to bottom, that could perhaps even be sold on the Apple iTunes App Store.

What you’ll learn

  • How to use UIViews to display game assets
  • How to create frame-by-frame animations for action games
  • How to integrate with Game Center and other social media services

Who this book is for

This book is for new iOS developers who want to create compelling 2D games. A basic understanding of Xcode and Objective-C is assumed.

Table of Contents

Table of Contents

  1. Introduction and HelloGame
  2. Setting Up your Game App Project
  3. Explore the Game App Life cycle
  4. Quickly Build an Input Driven Game
  5. Quickly Build a Frame by Frame Game
  6. Build Your Game: Game Engine, Image Actors, and Behaviors
  7. Build Your Game: Vector Actors and Particles
  8. Build Your Game: Understand Gestures and Movements
  9. Build Your Game: Apple's Game Center and Social Media
  10. A Complete Example: Belt Commander
  11. Design and Create Graphics
  12. Monetizing via the Apple App Store
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

Please Login to submit errata.

On page 7/8:

At the top of page 8, the text says (referring to figure 1-7 on page 7) "I selected Model," but the the button to which the author is referring is labeled "Modal" in the illustration.


On page 26:

Line 5/6: "When you create that class, name it UIViewController_iPad..."

It should be 'ViewController_iPad...' not 'UIViewController_iPad...'.

On page 29:

"In our case, it will be an instance of ViewController_iPhone, as shown in Listing 2–2."

However, I checked your project and its not ViewController_iPhone, it's ViewController. If you don't make it ViewController, you can't link objects to code as you discussed in page 33, under "Creating New IBOutlets from Interface Builder".

On page 29:

line 1: 'Figure 2-10' should be 'Figure 2-13'.

On page 29:

"is a view with four icons" should sat "three icons" since there only is that many icons in the list.

On page 35:

Listing 2–7. GameController.m (shouldAutorotateToInterfaceOrientation:)

There is no such class as GameController, I guess you meant ViewController.