I am about to add Game Kit functionality to a game I am developing. The game type is more like a head to head game, instead of turn based. What I mean is this: I need other players to see live what the playing user is doing, like a car racing application, for example, where all players compete against each other live and they all see what is going on live.
Can you guys point me to an example of how to do that? A sample code, tutorial, anything.
I have google around but just found vague and superficial approaches.
At this time I just need to know about implementing online games using Game Center, not local network (bluetooth/wifi).
Any help is appreciated. thanks.
Unfortunately, that’s the part Game Center doesn’t give you. You have to make your own communication schemes and protocols. Native Game Kit communication protocols are just poor.
Don’t get me wrong, it’s a great framework to create and find matches but you are on your own on the communication.
You should check the Game Kit reference and the Protocol References section.
https://developer.apple.com/library/ios/#DOCUMENTATION/GameKit/Reference/GameKit_Collection/_index.html