Author Topic: Game Center (testers and help needed)  (Read 12782 times)

Offline Dark Schneider

  • Mr. Polyvector
  • ***
  • Posts: 128
    • View Profile
Re: Game Center (testers and help needed)
« Reply #30 on: 2012-Jan-13 »
I downloaded the last files from the post and don work  :blink:

A video with the error


http://www.youtube.com/watch?v=IT8A5BOhoOM

What version of iPhone do you have?, maybe if is an iPhone 4 has the same problem than the iPad. Try with achievements instead leaderboards. As I said it has a problem of input focus loss on iPad with leaderboads, and maybe with the lastest iPhones is the same.

But is rare because running it on an iPad, but compiling in iPhone mode, works fine.

To solve, try diferent things (combinations) in leaderboardViewControllerDidFinish() function, lines:

[self.gcViewController dismissModalViewControllerAnimated:YES];
change YES to NO

[self.gcViewController.view.superview removeFromSuperview];
No much idea about the changes here, but is the other line that handles the leaderboard controller remove from view.
maybe can try:
[self.gcViewController.view removeFromSuperview];
without the last ".superview".
if we look at the achievementViewControllerDidFinish() function, it has two ways depending on device, but I think I tested it for leaderboards but it didn't work (not sure).

Try posible combinations until it works, if it works. And if you find the solution remember to post it here for everyone.

There are really many problems with leaderboards tables on 3rd party libraries, like GLBasic, Cocos2D, and others.
« Last Edit: 2012-Jan-13 by Dark Schneider »

Offline kaotiklabs

  • Dr. Type
  • ****
  • Posts: 313
  • Spain is diferent
    • View Profile
Re: Game Center (testers and help needed)
« Reply #31 on: 2012-Apr-09 »
any changes on this?

I have tried and as you stated is working on iPad (iPhone Mode) but not on iPhone (ver 5.0.1)
I tried to change what you sugested but focus is still lost.
Vote Cthulhu! Because the stars are right!!!!
Ia Ia Cthulhu F' tang!