Chapter 1: Getting Started with Game Kit and Game Center
Game Kit and Game Center a History
Game Center Benefits and Marketing
Game Kit: An Overview
Sample Game: UFOs
UFOs: Examining the Source Code
Getting Started with iTunes Connect
Chapter 2: Game Center: Setting Up and Getting Started
Game Center from the user perspective
Testing for Game Center
Authenticating with Game Center
The Sandbox
Watching for Status Changes
Working with GKLocalPlayer
Retrieving a Friends List
Friend List Avatars
Working with Players
Chapter 3: Leaderboards
Why a Leaderboard?
An Overview of Leaderboards in Game Center
Configuring a Leaderboard in iTunes ConnectPosting a Score
Setting a Default Leaderboard
Adding Score Posting to UFOsHandling Failures When Submitting a Score
Presenting a Leaderboard
Customizing the LeaderboardMapping a Player ID
Local Player Score
A Better Approach
Chapter 4: Achievements
Why Achievements?
An Overview of Achievements in Game Center
Configuring Achievements in iTunes Connect
Resetting Achievements
Adding Achievement Hooks
Chapter 5: Matchmaking and Invitations
Why Add Matchmaking and Invitations to Your App?Common Matchmaking Scenarios
Creating a New Match Request
Presenting Match GUIHandling Incoming Invitations
Auto-Matching
Matching ProgrammaticallyAdding a Player to a Match
iOS 5
ReinvitesPlayer Groups
Player Attributes
Player Activity
Using Your Own Server (Hosted Matches)
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
Less Common Networks
Reliable Data vs. Unreliable Data
Sending Only What Is Needed
Prediction and Extrapolation
Formatting Messages
Preventing Cheating and Preventing Timeout-Related Disconnections
What to Do When All Else Fails
Chapter 8: Exchanging Data
Modifying a Single-Player Game
Setting Up Our Engine for Multiplayer
Putting Everything Together
Disconnections
Chapter 9: Turned-Based Gaming with Game Center
A New Sample ProjectGKTurnedBasedMatchmakerViewController
Starting a New Game
Making the First MoveContinuing a Game in Progress
Ending a Match
Quitting and ForfeitingProgrammatic Matches
GKTurnBasedEventHandler
Chapter 10: Voice Chat
Voice Chat for Game Center
Voice Chat for Game Kit
Putting It Together
Chapter 11: In-App Purchase with StoreKit
Setting Up Your App in iTunes ConnectAdding Products to Your App
Purchasing a Product
Subscriptions and RenewalsTest Accounts and Testing Purchases
Submitting a Purchase GUI Screenshot
Developer ApprovalReceipts
Tying Everything Together in UFOs
外文書商品之書封,為出版社提供之樣本。實際出貨商品,以出版社所提供之現有版本為主。部份書籍,因出版社供應狀況特殊,匯率將依實際狀況做調整。
無庫存之商品,在您完成訂單程序之後,將以空運的方式為你下單調貨。為了縮短等待的時間,建議您將外文書與其他商品分開下單,以獲得最快的取貨速度,平均調貨時間為1~2個月。
為了保護您的權益,「三民網路書店」提供會員七日商品鑑賞期(收到商品為起始日)。
若要辦理退貨,請在商品鑑賞期內寄回,且商品必須是全新狀態與完整包裝(商品、附件、發票、隨貨贈品等)否則恕不接受退貨。