Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Swift By Example

You're reading from   Swift By Example

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher
ISBN-13 9781785284700
Length 284 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Giordano Scalzo Giordano Scalzo
Author Profile Icon Giordano Scalzo
Giordano Scalzo
Arrow right icon
View More author details
Toc

Integrating with Game Center


Game Center can be defined as a social gaming network that offers multiplayer features. It was made available in iOS 4.1, and it has been updated with new gaming options ever since.

What Game Center provides

The features provided by Game Center are as follows:

  • Leaderboards: This is a shared database containing the scores of the players of the game. It allows them to add their personal results and compare them with the scores of other players.

  • Achievements: These are the goals defined inside the game that cause players to maintain interest in the game. Some examples of achievements can be Destroyed 50 enemies, Run during the night, and so on.

  • Multiplayer: This feature allows the developer to implement a networked game where players can compete with each other, either in real time or in a turn-based manner.

Incorporating Game Center into an app is a two-step project. First of all, we need to set up the app in iTunes Connect, enabling Game Center support and setting...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image