gamekit
How do I convert an NSNumber to NSData?
I need to transmit an integer through GameKit using sendDataToAllPeers:withDataMode:error: but I don\'t know how to convert my NSNumber to NSData in order to send. I currently have:[详细]
2023-02-04 00:20 分类:问答Is registering your app through iTunesConnect required to test GameKit integration?
I\'d like to add GameKit integration to my app.I was hoping to be able to evaluate how it works.From the docs I found, it seems that I have to register my app through iTunes Connect first.I\'m new to[详细]
2023-02-03 17:51 分类:问答iOS Development: When receiving a Game Center invite, how do I obtain the GKMatch object?
I\'m building an iPhone game that uses Game Center and I\'m having a hard time understanding how to start a match game that was started by receiving an invitation to play from a friend.The docs say th[详细]
2023-02-03 10:59 分类:问答How can I send a NSDictionary/NSArray with the GameKit?
I hear i should convert the dict to a propertylist and then send it and convert it back. Or is there a better way?[详细]
2023-02-03 09:39 分类:问答iPhone peer-to-peer voice chat
I see that Game Kit allows you to develop games with voice chat. I want to build a more general, peer-to-peer voice chat application, that does not have to live in the Game Center. So a couple questio[详细]
2023-02-03 07:28 分类:问答iOS Development: How do I auto match players in Game Center?
I have a \"Play Now\" button in my app that allows players to be auto-matched with other random players.Maybe I\'m missing this somewhere in the docs, but how do I write the code to auto match players[详细]
2023-02-03 06:56 分类:问答iOS Development: Should the "playersToInvite" property contain an array of strings or an array of GKPlayer objects?
Should the playersToInvite property of 开发者_如何学编程the GKMatchRequest object contain an array of NSString objects that hold the player id\'s or should it contain an array of GKPlayer objects?The[详细]
2023-02-03 00:06 分类:问答iOS Development: Strange problem with authenticating Game Center user
I\'m building an iPhone game that supports Game Center (GC).When the app launches, I try to authenticate the local player...[详细]
2023-02-02 15:28 分类:问答GameKit peer to peer wifi without wireless router?
Thanks in advance for any thoughts about this.I\'m looking for a way to do realtime inter-app communication in iOS via wi-fi (I need about 150 ft range and don\'t think bluetooth offers this) and wond[详细]
2023-02-02 01:09 分类:问答Sending Data to Other Players - Game Center
I am developing a simple game center multiplayer game. i did manage almost everything except sending messeage to players. what i mean, i can invite player to play game, game is starts etc.[详细]
2023-02-01 15:32 分类:问答