"《編寫蘋果游戲中心應用程序》(Writing Game Center Apps in iOS: Bringing Your Players Into the Game)英文文字版/更新EPUB版本/更新源代碼[PDF]"介紹
中文名: 編寫蘋果游戲中心應用程序
原名: Writing Game Center Apps in iOS: Bringing Your Players Into the Game
作者: Vandad Nahavandipoor
圖書分類: 軟件
資源格式: PDF
版本: 英文文字版/更新EPUB版本/更新源代碼
出版社: O'Reilly
書號: 978-1449305659
發行時間: 2011年05月13日
地區: 美國
語言: 英文
簡介:
內容介紹: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
內容截圖:
目錄:
Chapter 1 Game Center
Introducing GCD and Block Objects
Creating Game Center Accounts
Setting Up Game Center for an iOS App
Adding the Game Kit Framework
Authenticating the Local Player in Game Center
Retrieving the Local Player’s Information
Adding Friends in Game Center
Retrieving the Local Player’s Friends Information
Creating Leaderboards in iTunes Connect
Reporting Scores to Leaderboards
Retrieving Leaderboards Information Programmatically
Displaying Leaderboards to Players
Creating Achievements in iTunes Connect
Reporting Achievements to Game Center
Retrieving Achievements Information Programmatically
Displaying Achievements to Players
Supporting Multiplayer Games and Matchmaking
Handling Players’ State Changes in Multiplayer Games