Beginning iOS Game Center and Game Kit [electronic resource] : For iPhone, iPad, and iPod touch /
Richter, Kyle.author.
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.
Title Page; Copyright Page; Contents at a Glance; Table of Contents; About the Author; About the Technical Reviewer; xiAcknowledgments; Foreword: The Legend of Kyle, Game Hero; Introduction; Prerequisites; How This Book Is Organized; Required Software, Materials, and Equipment; Chapter 1: Getting Started with Game Kit and Game Center; Game Kit: An Overview; Networking; Game Center; Voice Chat; Sample Game: UFOs; UFOs: Understanding the Game; UFOs: Examining the Source Code; Setting Up the Accelerometer Delegate; Drawing the Player to the View; Setting Up Cows, Beams, and Scores
Handling Rotation EventsAdding Player Movements; Watching for Touch Events; Spawning and Moving Cows; Performing a Hit Test with a UIImage; Abducting a Cow; Configuring iTunes Connect for Game Center; Getting Started with iTunes Connect; Configuring Game Center in iTunes Connect; Summary; Chapter 2: Game Center: Setting Up and Getting Started; Testing for Game Center; Authenticating with Game Center; Modifying the GameCenterManager Class; Authenticating from UFOViewController; The Sandbox; Watching for Status Changes; Working with GKLocalPlayer; Retrieving a Friends List; Friend List Avatars
Working with PlayersSummary; Chapter 3: Leaderboards; Why a Leaderboard?; An Overview of Leaderboards in Game Center; Benefits of Using Apple's Leaderboard GUI vs. a Custom GUI; 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; Modifying GameCenterManager; Filtering Results on a Custom Leaderboard; Displaying the Custom Leaderboard; Mapping a Player ID; Local Player Score; A Better Approach; Summary; Chapter 4: Achievements
Why Achievements?An Overview of Achievements in Game Center; Benefits of Using Apple's Achievement GUI vs. a Custom GUI; Configuring Achievements in iTunes Connect; Presenting Achievements; Modifying Achievement Progress; Resetting Achievements; Adding Achievement Hooks; Another Convenience Method; Achievement Completion Feedback; iOS 5 Completion Banners; Custom Achievement GUI; Recovering from a Submit Failure; Summary; 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 InvitationsAuto-Matching; Matching Programmatically; Adding a Player to a Match; iOS 5 Reinvites; Player Groups; Player Attributes; Understanding Player Attribute Limitations; Working with Player Attributes; Player Activity; Using Your Own Server (Hosted Matches); Summary; chapter 6: The Peer Picker; Benefits of the Peer Picker; Real-World Examples; Working with Sessions; Presenting a Peer Picker; Advanced GKSession Interaction; The Peer Picker Delegate; Summary; Chapter 7: Network Design Overview; Three Types of Networks; Peer-to-Peer Network; Client-to-Host Network
Ring Network
Includes index.
Includes index.
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.
Apple computer.
Application software.
Apple and iOS.
Computer Applications.