Beginning iOS game center and game kit : for iPhone, iPad, and iPod touch /
Beginning iOS Game Center and Game Kit shows you how to use Game Center and Game Kit to create fun and polished games that use advanced features such as social networking and voice over IP (VoIP). Game Kit and Game Center can help you reach new customers through social interaction, so this book show...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Berkeley, CA : New York :
Apress ; Distributed to the Book trade by Springer,
Ã2011.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Machine generated contents note: ch. 1 Getting Started with Game Kit and Game Center
- Game Kit: An Overview
- Networking
- Game Center
- Voice Chat
- Sample Game: UFOs
- UFOs: Understanding the Game
- UFOs: Examining the Source Code
- Setting Up the Accelerometer Delegate
- Drawing the Player to the View
- Setting Up Cows, Beams, and Scores
- Handling Rotation Events
- Adding Player Movements
- Watching for Touch Events
- Spawning and Moving Cows
- Performing a Hit Test with a Ullmage
- Abducting a Cow
- Configuring iTunes Connect for Game Center
- Getting Started with iTunes Connect
- Configuring Game Center in ITunes Connect
- Summary
- ch. 2 Game Center: Setting Up and Getting Started
- Testing for Game Center
- Authenticating with Game Center
- Modifying the GameCenterManager Class
- Authenticating from UFOViewController
- The Sandbox
- Watching for Status Changes
- Working with GKLocalPlayer
- Retrieving a Friends List
- Friend List Avatars.
- Note continued: Working with Players
- Summary
- ch. 3 Leaderboards
- Why a Leaderboard?
- An Overview of Leaderboards in Game Center
- Benefits of Using Apple's Leaderboard GUI vs. a Custom GUI
- Configuring a Leaderboard in iTunes Connect
- Posting a Score
- Setting a Default Leaderboard
- Adding Score Posting to UFOs
- Handling Failures When Submitting a Score
- Presenting a Leaderboard
- Customizing the Leaderboard
- Modifying GameCenterManager
- Filtering Results on a Custom Leaderboard
- Displaying the Custom Leaderboard
- Mapping a Player ID
- Local Player Score
- A Better Approach
- Summary
- ch. 4 Achievements
- Why Achievements?
- An Overview of Achievements in Game Center
- Benefits of Using Apple's Achievement GUI vs. a Custom GUI
- Configuring Achievements in iTunes Connect
- Presenting Achievements
- Modifying Achievement Progress
- Resetting Achievements
- Adding Achievement Hooks
- Another Convenience Method.
- Note continued: Achievement Completion Feedback
- iOS 5 Completion Banners
- Custom Achievement GUI
- Recovering from a Submit Failure
- Summary
- ch. 5 Matchmaking and Invitations
- Why Add Matchmaking and Invitations to Your App?
- Common Matchmaking Scenarios
- Creating a New Match Request
- Presenting Match GUI
- Handling Incoming Invitations
- Auto-Matching
- Matching Programmatically
- Adding a Player to a Match
- iOS 5 Reinvites
- Player Groups
- Player Attributes
- Understanding Player Attribute Limitations
- Working with Player Attributes
- Player Activity
- Using Your Own Server (Hosted Matches)
- Summary
- ch. 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
- ch. 7 Network Design Overview
- Three Types of Networks
- Peer-to-Peer Network
- Client-to-Host Network
- Ring Network.
- Note continued: 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
- Summary
- ch. 8 Exchanging Data
- Modifying a Single-Player Game
- Setting Up Our Engine for Multiplayer
- Picking a Host
- Sending Data
- Receiving Data
- Putting Everything Together
- Selecting the Host
- Displaying the Enemy UFO
- Spawning Cows
- Sharing Scores
- Adding Network Abduction Code
- Disconnections
- Summary
- ch. 9 Turned-Based Gaming with Game Center
- A New Sample Project
- GK Tumed Based Matchmaker View Controller
- Starting a New Game
- Making the First Move
- Continuing a Game in Progress
- Ending a Match
- Quitting and Forfeiting
- Programmatic Matches
- GKTurnBasedEventHandler
- Summary
- ch. 10 Voice Chat
- Voice Chat for Game Center.
- Note continued: Creating an Audio Session
- Creating New Voice Channels
- Starting and Stopping Voice Chat
- Chat Volume and Muting
- Monitoring Player State
- Voice Chat for Game Kit
- Creating an Audio Session
- Required Overhead
- Getting Things Running
- Putting It Together
- Summary
- ch. 11 In-App Purchase with StoreKit
- Setting Up Your App in iTunes Connect
- Adding Products to Your App
- App IDs and In-App Purchase
- Setting Up
- Retrieving the Product List
- Presenting Your Products to the User
- Purchasing a Product
- Purchasing Code
- Purchasing Multiple Items
- Processing a Transaction
- Restoring Previously Completed Transactions
- Test Accounts and Testing Purchases
- Signing in with a Test Account
- Submitting a Purchase GUI Screenshot
- Developer Approval
- Receipts
- Tying Everything Together in UFOs
- Summary.