Multiplayer Game

I want to build a multiplayer app for iOS. When create multiplayer games for Android I use Google Play Games for Real Time Multiplayer to create the online sign in and room creation and data exchange. What framework I can use to build multiplayer games for iOS. I saw that previously Play Games was available for iOS but it is deprecated now. I want something that can be played via network and not dependable on the location. I don't want direct wifi or bluetooth connection. Just something that manages user login and room creation via network. What framework people are using to build online iOS games? Please help! If there's something cross platform that can be used for Android and iOS even better. Is this supported by Game Center? If yes give me some links with example code. Regards!

Replies

You will want to use the GameKit framework described here:

https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/GameKit_Guide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40008304?language=objc

and here:

https://developer.apple.com/documentation/gamekit?language=objc


Ignore everything about Leaderboards and Achievements. You will use either:

https://developer.apple.com/documentation/gamekit/gkturnbasedmatch?language=objc

or

https://developer.apple.com/documentation/gamekit/gkmatch?language=objc


I used this framework to create the app "Go Connect".


Various books have code samples on how to use the GameKit framework.