You are previewing Beginning iOS 5 Games Development: Using the iOS 5 SDK for iPad, iPhone, and iPod Touch.
O'Reilly logo
Beginning iOS 5 Games Development: Using the iOS 5 SDK for iPad, iPhone, and iPod Touch

Book 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 the core classes to create game apps, including graphics, animations, and sound. 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.

Table of Contents

  1. Title
  2. Dedication
  3. Contents at a Glance
  4. Contents
  5. About the Author
  6. About the Technical Reviewer
  7. Acknowledgments
  8. Introduction
    1. Chapter-by-Chapter Overview
  9. Chapter 1: A Simple First Game
    1. Creating a Project in Xcode: Sample 1
    2. Customizing Your Project
    3. Summary
  10. Chapter 2: Setting Up Your Game Project
    1. Creating Your Game Project
    2. Customizing a Universal Application
    3. Understanding UIViewControllers
    4. Graphically Designing Your UI in a Universal Way
    5. Summary
  11. Chapter 3: Explore the Game Application Life Cycle
    1. Understanding the Views in a Game
    2. Understanding the Project's Structure
    3. Preserving Game State
    4. Summary
  12. Chapter 4: Quickly Build an Input-Driven Game
    1. Exploring How to Get Content on the Screen
    2. Understanding Animations
    3. Building the Game Coin Sorter
    4. Animating Views with Core Animation
    5. Summary
  13. Chapter 5: Quickly Build a Frame-by-Frame Game
    1. Setting Up Your First Frame-by-Frame Animation
    2. Simple Movement
    3. Understanding CADisplayLink and NSRunLoop
    4. Abstracting the UI
    5. Actor State and Animations
    6. Summary
  14. Chapter 6: Create Your Characters: Game Engine, Image Actors, and Behaviors
    1. Understanding the Game Engine Classes
    2. Working with the Power-Up Actor
    3. Summary
  15. Chapter 7: Build Your Game: Vector Actors and Particles
    1. Saucers, Bullets, Shields, and Health Bars
    2. Drawing Actors with Core Graphics via VectorRepresentation
    3. Adding Particle Systems to Your Game
    4. Summary
  16. Chapter 8: Building Your Game: Understanding Gestures and Movements
    1. Touch Input: The Basics
    2. Understanding Gesture Recognizers
    3. Swipe Gesture
    4. Interpreting Device Movements
    5. Summary
  17. Chapter 9: Game Center and Social Media
    1. Game Center
    2. Twitter Integration
    3. Facebook Integration
    4. Summary
  18. Chapter 10: Monetizing via the Apple App Store
    1. In-App Purchases
    2. Overview of Purchase Types
    3. Preparing for In-app Purchases
    4. Class and Code for In-App Purchases
    5. In-App Purchase Implementation
    6. Driving the UI from Existing Purchases
    7. Making the Purchase
    8. Responding to a Successful Purchase
    9. Summary
  19. Chapter 11: A Completed View Belt Commander
    1. Belt Commander: Game Recap
    2. Implementing the Game
    3. Summary
  20. Appendix A: Designing and Creating Graphics
    1. The Art in Video Games
    2. Creating the Images Files
    3. Tools
    4. Inkscape
    5. Summary
  21. Index