Issue with TurnBased Multiplayer Game in Game-kit

Posted by Nirav on Game Development See other posts from Game Development or by Nirav
Published on 2012-09-11T10:44:08Z Indexed on 2012/09/11 15:51 UTC
Read the original article Hit count: 815

Filed under:
|

I am working with cocos2d game in which i am implementing Game-kit. My game supports multiplayer option. Actually as given example Raywenderlich link. I am GKTurnBasedMultiplayer class from Game-kit. But now the issue when first player connected to game center and will select option of "Play Now" it automatches for another player. but issue is it directly connects and starts the match, and doesn't wait for another player. I am using

[[GCTurnBasedMatchHelper sharedInstance] findMatchWithMinPlayers:2 maxPlayers:4 viewController:viewConroller];

for connecting and playing with other players but directly connects the match.

I want to wait for another player. That is the issue. I am also using GCTurnBasedMatchHelper Class.

© Game Development or respective owner

Related posts about cocos2d-iphone

Related posts about game-center