Questions tagged [gkmatchmaker]

Class used in GameKit.framework(Game centre programming in iOS6).

The GKMatchmaker class is used to programmatically create matches to other players and to receive match invitations sent by other players.

Complete Class Reference.

52 questions
0
votes
1 answer

GKMatch - Real time - invite handler

I am trying to create a real time multiplayer game using game center, programatically. My problem is the lack of documentation since the old inviteHandler has been deprecated. The first thing I do is the authentication: - (void)…
Macaret
  • 797
  • 9
  • 33
0
votes
1 answer

GKVoiceChat not working on GameCenter Match

I'm trying to set up voice-chat on a game I'm developing for iOS, it successfully creates the match, but when I try to set up the voice-chat it does nothing, what am I doing wrong? It runs without throwing errors. Here's the code I'm using to make…
c4b4d4
  • 964
  • 12
  • 32
0
votes
1 answer

GKMatchmakerViewController delegate methods not being called

I spent hours trying to debug this one so I thought I'd post here to help perhaps save someone the headache! GKMatchRequest *matchRequest = [[GKMatchRequest alloc] init]; matchRequest.minPlayers = 2; matchRequest.maxPlayers =…
Kudit
  • 4,212
  • 2
  • 26
  • 32
0
votes
1 answer

How does game center manage a match when users close then reopen the game?

For example if they have a text message or call they respond to, then they reactivate the game, how long does game center give them before telling them they are disconnected? Is it possible to change this timeout value? Is it different in sandbox…
Rasterman
  • 155
  • 1
  • 13
0
votes
1 answer

GKMatchmakerViewController does not handle touches

I am showing this modalView and it does not handle touches. I am using cocos2d-iphone. mControllerView= [[UIViewController alloc] init]; //mControllerView.view = [[CCDirector sharedDirector] openGLView]; //this was the old method, it worked, but…
McDermott
  • 1,025
  • 2
  • 16
  • 28
-1
votes
1 answer

How do I handle an invitation link from a game center game?

I want to use GameCenter MatchMakerViewController to invite friends to my Multiplayer Real-Time-Game. When inviting a friend he receives a link via iMessage with the invitation. When clicking on that link I want to handle the invitation, but right…
pipo92
  • 119
  • 10
-2
votes
1 answer

Cannot send data using GKMatch.sendData(toAllPlayers:, with: ) in IOS 14

I am writing a multiplayer gamein iOS using Gamekit. I am trying to send data from a player to other using below methods match.send(data, to: [player], dataMode: .reliable) match.sendData(toAllPlayers: data, with: .reliable) It works fine on ios 13…
Mithra Singam
  • 1,905
  • 20
  • 26
1 2 3
4