Book description
Beginning iOS Game Center and Game Kit shows you how to use Game Center and Game Kit to create fun and polished games that use advanced features such as social networking and voice over IP (VoIP). Game Kit and Game Center can help you reach new customers through social interaction, so this book shows you how you can quickly add a level of polish to your app that used to take weeks of hard work and late nights.
Implementing a leaderboard and achievement system has never been so simple! Gone are the days of writing your own server. You'll also see how to easily add advanced networking concepts like VoIP support in hours, not days.
Learn how to quickly implement many advanced social networking concepts into your apps. You'll be guided through the process of creating a custom Game Center Manager class that can be rapidly deployed into any of your new or existing projects. Furthermore, learn how to avoid pitfalls commonly encountered by new Game Center developers.
What you'll learn
What Game Center and Game Kit are and how you can improve your app by using them
How to configure your app with iTunes Connect to work with Game Center
How to set up leaderboard and achievement systems for use within your app
How to add a custom graphical user interface to Game Center to match the look and feel of your product
What multiplayer and networking does to your app through Game Kit
How to write an easy-to-implement and reusable Game Center Manager
Who this book is for
All iOS developers who want to easily bring their current or planned app to the next level. Game Center and Game Kit, despite the name, are not limited only to games—all iOS developers with a basic understanding of Cocoa and UIKit will find something useful in these APIs. They allow even a novice iOS developer to add an amazing level of polish to their apps with a minimal amount of effort.
Table of contents
- Title
- Dedication
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Foreword: The Legend of Kyle, Game Hero
- Introduction
- Chapter 1: Getting Started with Game Kit and Game Center
- Chapter 2: Game Center: Setting Up and Getting Started
-
Chapter 3: Leaderboards
- Why a Leaderboard?
- An Overview of Leaderboards in Game Center
- Configuring a Leaderboard in iTunes Connect
- Posting a Score
- Setting a Default Leaderboard
- Adding Score Posting to UFOs
- Handling Failures When Submitting a Score
- Presenting a Leaderboard
- Customizing the Leaderboard
- Mapping a Player ID
- Local Player Score
- A Better Approach
- Summary
- Chapter 4: Achievements
-
Chapter 5: Matchmaking and Invitations
- Why Add Matchmaking and Invitations to Your App?
- Common Matchmaking Scenarios
- Creating a New Match Request
- Presenting Match GUI
- Handling Incoming Invitations
- Auto-Matching
- Matching Programmatically
- Adding a Player to a Match
- iOS 5 Reinvites
- Player Groups
- Player Attributes
- Player Activity
- Using Your Own Server (Hosted Matches)
- Summary
- Chapter 6: The Peer Picker
- Chapter 7: Network Design Overview
- Chapter 8: Exchanging Data
- Chapter 9: Turned-Based Gaming with Game Center
- Chapter 10: Voice Chat
- Chapter 11: In-App Purchase with StoreKit
- Index
Product information
- Title: Beginning iOS Game Center and Game Kit: For iPhone, iPad, and iPod touch
- Author(s):
- Release date: November 2011
- Publisher(s): Apress
- ISBN: 9781430235279
You might also like
book
Writing Game Center Apps in iOS
Now that Apple has introduced the GameKit framework to its iOS SDK, you can integrate Game …
book
iOS 4 in Action
NEWER EDITION AVAILABLE iOS 7 in Action is now available. An eBook of this older edition …
book
Beginning iOS Social Games
It's certainly fun to build games that run on your iPhone and iPad. But, wouldn't it …
book
iOS 7 Development Recipes: A Problem-Solution Approach
is your code reference and guide to developing solutions on the iPad, iPhone, and other iOS …