Writing Game Center Apps in iOS
Author | : Vandad Nahavandipoor |
Publisher | : "O'Reilly Media, Inc." |
Total Pages | : 78 |
Release | : 2011-04-22 |
ISBN-10 | : 9781449308636 |
ISBN-13 | : 1449308635 |
Rating | : 4/5 (635 Downloads) |
Download or read book Writing Game Center Apps in iOS written by Vandad Nahavandipoor and published by "O'Reilly Media, Inc.". This book was released on 2011-04-22 with total page 78 pages. Available in PDF, EPUB and Kindle. Book excerpt: Now that Apple has introduced the GameKit framework to its iOS SDK, you can integrate Game Center features directly into your iPhone and iPad apps. This concise cookbook shows you how it's done, with 18 targeted recipes for adding leaderboards, user authentication, achievements, multiplayer games, and many other features. How do you display players' scores and achievements? How do you create Game Center accounts and add friends? Each recipe in this book includes a simple code solution you can put to work immediately, along with a detailed discussion that offers insight into why and how the recipe works. Recipes include techniques to: Set up Game Center for an iOS App Use block objects and Grand Central Dispatch to write Game Center apps Authenticate a local player in Game Center Use iTunes Connect to create leaderboards and achievements Retrieve leaderboard and achievement information programmatically Handle players' state changes in multiplayer games