Автор: Vandad Nahavandipoor
Издательство: O'Reilly Media
Год: 2011
ISBN: 1449305652; 9781449305659
Формат: pdf
Страниц: 80
Размер: 12,1 mb
Язык: English
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