|
游客,本帖隐藏的内容需要积分高于 1 才可浏览,您当前积分为 0
资源信息:
中文名: 编写苹果游戏中心应用程序
原名: 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
|