gamekit

Hi guys


I was wondering Can gamekit be used to create a chat messenger within a game using mobile connection or wifi connection??


Thanks

voice chat is a bit buggy but it works. I use it in "Go Game Connect".


https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/GameKit_Guide/Matchmaking/Matchmaking.html

It works when you are connected through the Game Center which can be done on two devices that are both connected to the internet.

Yes, but if you only rely on GameKit, then the chat functionality will be different from what you might be used to - as I believe you’ll have to use Exchanges:
  1. You can only chat with players in a game where you participate.

  2. The turn holder will not be able to end their turn until all players have received the exchange (or it has timed-out).

  3. You may want to use a very short time-out to avoid the chat from preventing turn holder from ending their turn. However, I believe this will result in an inactive player missing the chat message - as I think the player will not receive resolved or cancelled exchanges.

  4. You may be able to restore he full chat using the exchange array associated with the match, but I’m not entirely sure about that - as I think cancelled andresolved exchanges are removed.

So bottom line, you should be able to use GameKit to create a chat between participants in an ongoing game. But is could end up being a chat that doesn’t retain a full chat log.
gamekit
 
 
Q