Game center doesn't work when testing
vincentW
Member Posts: 47
Hey, my new game is almost done, I only have to set up a gc leaderboard.
So, I did at itunes connect, and I've made an actor in my game to show leaderboard. But when I test my game using an ad hoc, nothing happens when I press the actor. When I press it in the gamesalad creator preview, it says that it doesn't support gc but that on the phone, the game would open game center. So that should work fine, but it doesn't...
Please help
So, I did at itunes connect, and I've made an actor in my game to show leaderboard. But when I test my game using an ad hoc, nothing happens when I press the actor. When I press it in the gamesalad creator preview, it says that it doesn't support gc but that on the phone, the game would open game center. So that should work fine, but it doesn't...
Please help
Comments
If you do have a pro account, have you also got a log in to Game Centre behaviour running when the game starts? I found that I needed a log in to trigger when the game started, normally 0.1 or 0.2 seconds after it loaded, then the buttons to access the leader board would work. I'm guessing a button to log in to Game Centre would work too, but if you're not logged in you won't be able to access the leaderboards and the button for the leaderboards will act broken.
It would be nice if there was a behaviour to check whether the player was logged in or not.
Unfortunatlely I'm gonna do it without GC.