How to use Game Center for Multiplayer

Hi, I'm brand new at iPhone app development, but have experience with other programming languages so I understand the basics of what's going on. I'm working on making a game in Swift in Xcode that will involve real-time multiplayer capabilities for players around the country/world. I have a few questions regarding this:


1. What is the best/easiest way to have a multiplayer game where someone can choose to "host" a game, and invite their friends to play with them. Also is that option available/easy for a single person, as I'm not part of a group or organization.


2. I've read a little about Game Kit for multiplayer. Is this essentially using Game Center for matchmaking, and can you use it to invite friends to your game?


3. In order to use the Game Kit/Game Center matchmaking do I have to pay the $99 to be a Apple Developer?


I appreciate the help!

Accepted Reply

Game Center will do what you want. I believe you will need to be an Apple Developer to use the Game Center effectively. You will need to chose a real-time game or a turn-based game or a game hosted on your own server.


Start here:

https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/GameKit_Guide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40008304-CH1-SW1

Replies

You should better post this question in GameCenter part of the forum https://forums.developer.apple.com/community/graphics-and-games/game-center

It deals with multi players questions.

Game Center

Friends, Leaderboards, Achievements, Multi-player, Voice Chat


Just use the Actions button at top right to relocate the post.


Thanks and good luck

Thanks, I moved it to Game Center.

Game Center will do what you want. I believe you will need to be an Apple Developer to use the Game Center effectively. You will need to chose a real-time game or a turn-based game or a game hosted on your own server.


Start here:

https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/GameKit_Guide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40008304-CH1-SW1

Thank you for the help!