game-center

Is iPhone Game Center documentation available?

Maybe I'm just missing it, but is there any documentation on Apple's not-yet-released Game Center? Am I missing it somewhere, or is the information only being given to select developers? I'd like to build my frame work around using it when it's released, but with no documentation, it's hard to even think about what to do. ...

How do I identify the gamekit message window?

When an iPhone app with GameKit launches, and the device is already logged in to GameCenter, a small message slides in on top of the screen, saying something along the lines of "Welcome back %username!". What I found out is the following: that message appears in its own UIWindow that eventually slides the message away and releases itsel...

Can I use Game Center logo on my app? [Solved]

I'm adding Game Center to my app and I want to put the logo on a screen. Can I do it or it will be rejected? Edit: ok, my app is ready for sale with the logo of Game Center in three different places. So I guess that there is no any problem with this issue. ...

How do I get a GKPlayer's status from Game Center?

When I get a GKLocalPlayer or use loadPlayersForIdentifiers:identifiers withCompletionHandler: to get a list or individual GKPlayer aliases, the GKPlayer object when logged, looks something like this: 2010-09-23 10:39:01.759 Cee-lo[76500:207] Players loaded by identity: ( "<GKPlayer 0x84125a0>(playerID: G:1234567890, alias: typeonet...

Game Center in iOs - specifying a configuration for your match

Going through the Game Center / GameKit docs, I could not find any information on specifying game configuration variables for a match. Let's say that you want to specify certain features a match should have to qualify for match making (e.g. you want to exclude certain weapons from the game, want to specify a length for the match etc.). ...

How to detect Game Center support?

In Apples documentation for Game Center it says to use this code to detect if Game Center is available: + (BOOL) isGameCenterAvailable { Class gcClass = (NSClassFromString(@"GKLocalPlayer")); NSString *reqSysVer = @"4.1"; NSString *currSysVer = [[UIDevice currentDevice] systemVersion]; BOOL osVersionSupported = ([currSysVer com...

What is the size of GameCenter achievement images?

So I want to incorporate GameCenter achievements in my game, but I have to supply images for each achievement for display in the GameCenter app. Apple isn't really clear about the required size. I've read online that they demand 512px images, but then they scale them down to something like 32px which makes it all blurry and/or pixelated....

iPhone gamecenter submitting highest score?

Hi, I am using below function to submit score to game center. How to modify below code so that i can send the score only if it is highest than already submitted score. And i dont want to maintain the scores locally. Any help? - (void) reportScore: (int64_t) score forCategory: (NSString*) category { GKScore *scoreReporter = [[[GKScore...

GameCenter - taking into consideration in-app purchases

It looks to me like Apple was in a bit of a hurry to implement GameCenter. Maybe I am overlooking something. If you create a game where you want to offer in-app purchases (say you want to sell additional maps or add ons), is there any way at all to match players who share the same maps (plural) using GKMatchRequest? i.e. whose in-app pu...

How to present GKAchievementViewController so it will display 1024*768 in iPad?

I am displaying gamecenter achievements using [myRootController presentModalViewController:mAchievementsController animated:YES]; for iphone it is displaying modalView of size 320*480 But for ipad it is not displaying modalView of size (1024*768). How to present GKAchievementViewController so it will display 1024*768 in iPad? ...

How can you use Game Center with your Game

How can you use Game Center's Highscores and Achievements Server with your app? ...

Using RoR and Active Record Session to implement a cheat-free game server

Hello. I'm diving into RoR and plan to build a few websites. Alongside the websites, I'd like to use RoR to build a simple RESTful game server API that can be used to orchestrate a two-player iOS game that I'm writing. The game is puzzle-based time challenge (the first player to solve the puzzle wins) and the players will only be comm...

Testing Game Center's P2P Functionality over Bluetooth with the iPhone Simulator

I would like to run and test P2P connectivity over Bluetooth via Game Center (GKPeerPickerController). I own an iPod Touch with OS 4.1 installed and am trying to connect it to the iPhone Simulator running on my Mac via Bluetooth, however they are not seeing one another. Bluetooth is on for the iPod and the Mac. Is this even possible? If ...

How to detect Game Center Authentication popup

I've implemented the Game Center into my game. However, one thing bothers me which is how to detect when the Game Center launches the popup to sign in. If the user is quick with their fingers and the network is a bit slow, they are able to start a game before the popup starts, which is fine, but I want to pause the game while they sign i...

How can I ensure my iPhone app uses the Game Center sandbox?

I'm developing an iPhone game with Game Center integration. The game is being built as Debug (not release/distribution). On the simulator, Game Center always uses the sandbox properly. On the iPhone device itself, it will go for a few days using the sandbox, then suddenly decide to use the real Game Center servers (which results in an er...

GameCenter - handling incoming calls etc.

What would you do in the following scenario: When implementing a multiplayer game, you use GKMatchmaker to find players. When the required number of players has connected, you start the match. Now one of the players receives an incoming call. What now? If the user takes the call, the application will move to the background, the conne...

How to save and retry reporting GKAchievement's after network failure?

Apple states that if you want to report a GKAchievement but you get a network error, the best way to handle this is to save the GKAchievement (possibly adding it to an array), then periodically attempt to report the achievement. What is the best place to save the achievements? Would NSUserDefaults suffice, or would a property list be a ...

Definitive answer to what playersToInvite is for.

The Game Center documentation indicates that the playersToInvite parameter is non-nil when your application is launched directly from the Game Center application to host a match. A few people have asked how this works exactly, i.e. there doesn't appear to be a way to select a friend from the Game Center application and invit...

Can I start implementing Game Center in my iPhone app, without having created a new app in iTunes connect?

This is a repost of my question over on the gamedev.stackexchange but there seems to be more Game Center questions and answers here. I'm in the process of developing a game for the iPhone and I want to add Game Center support to it. The problem, as I see it, is that I need to have named my app, created an icon and uploaded screenshots e...

How do I build a game that only supports Game Center if it's available on the iPhone?

I'm about to begin building an iPhone game that will make use of Game Center Achievements and high scores, but I'd also like to have a version that works on iPhones that don't have Game Center (i.e. iOS version < 4.1). Can I have two versions of the same app in the app store, one for game center, one for without? Or should I design the...