User Tag List

Page 5 of 5 FirstFirst ... 3 4 5
Results 41 to 49 of 49

Thread: Bug: wrong orientation of GC leaderboard

  1. #41
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    DaveC's Avatar
    Join Date
    Jun 2007
    Location
    Perth, Australia
    Posts
    2,132
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    I see.. I wouldn't mind that portrait display so long as my app doesn't get rejected on those grounds.. I'm sure a fix will come a long some time in the future.. time to upgrade!

  2. #42
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Mac Export Module (Steam)Universal Windows Platform Export Module (Steam)
    cfullerNY's Avatar
    Join Date
    Oct 2011
    Posts
    363
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by GnadeGames View Post
    I have a few games that have GC achievements/leaderboards. These games actually use the GC pop-up and come in as landscape:

    bit.trip beat HD
    Angry Birds HD
    Worms Crazy Golf HD
    Infinity Blade

    Any help on this would be very appreciated - even if it's an xcode hack
    great research - proof that it is possible - i hope francois/andos sees this

  3. #43
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Aug 2006
    Posts
    82
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, so I have a brute force Xcode Hack... It's not perfect but it at least loads the achievement or high score board correctly. If someone flips the device 180 degrees, it will remain upside down or switch to portrait.

    This fix is for displaying achievements with Game Center:

    First search for GKAchievement in your xcode project and find this code (it should be in the CRunGameCenterAchievements.m file):


    (void)displayDefault
    {
    if (gameCenter!=nil)
    {
    if (gameCenter->localPlayer!=nil)
    {
    if (gameCenter->localPlayer.isAuthenticated)
    {
    GKAchievementViewController* achievementController=[[GKAchievementViewController alloc] init];
    if (achievementController!=nil)
    {
    [ho->hoAdRunHeader pause];
    achievementController.achievementDelegate=self;
    [ho->hoAdRunHeader->rhApp->mainViewController presentModalViewController:achievementController animated:YES];

    }
    [achievementController release];
    }
    }
    }
    }


    INSERT THIS CODE BELOW the line:
    [ho->hoAdRunHeader->rhApp->mainViewController presentModalViewController:achievementController animated:YES];

    if (([[UIDevice currentDevice] orientation] == UIDeviceOrientationLandscapeLeft))
    {
    CGAffineTransform transform = CGAffineTransformMakeRotation(3.14159/2);
    achievementController.view.transform=transform;

    } else
    {
    CGAffineTransform transform = CGAffineTransformMakeRotation(-3.14159/2);
    achievementController.view.transform=transform;

    }

    That should do it. You can do the same hack on the GKLeaderboard View Controller.

  4. #44
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    Please note that this rotation 'fix' will work completely different on iPad and iPhone (from what I tested). There was no real way to fix it universally for both.
    Apple is taking their time to respond on a question I sent them. When I get the answer I will shed some more light on it for you

  5. #45
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    Captain_Harris's Avatar
    Join Date
    Aug 2011
    Posts
    336
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    if you make two leaderboard/achievements objects ? one for iPhone and one for iPad ? until there is another possibility ? i can not release my game and only wait for the leaderboard/achievement fix.

  6. #46
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleXNA Export Module
    DistantJ's Avatar
    Join Date
    Jan 2008
    Location
    Gloucester, UK
    Posts
    2,144
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Guys, I released a landscape app with a 'display default leaderboard' event in it when you click a button, but the leaderboard object shows a custom leaderboard until you press the button. After the update came out and I downloaded it from the store, the leaderboard displayed in the correct orientation, full screen....

  7. #47
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    Captain_Harris's Avatar
    Join Date
    Aug 2011
    Posts
    336
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Andos View Post
    I will send a support ticket to Apple on this

    @ Andos: Any news from apple about the leaderboard/achievement orientation problem ?

  8. #48
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Mac Export Module (Steam)Universal Windows Platform Export Module (Steam)
    cfullerNY's Avatar
    Join Date
    Oct 2011
    Posts
    363
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by DistantJ View Post
    Guys, I released a landscape app with a 'display default leaderboard' event in it when you click a button, but the leaderboard object shows a custom leaderboard until you press the button. After the update came out and I downloaded it from the store, the leaderboard displayed in the correct orientation, full screen....
    was this in a universal app?
    and if so, ipad and iphone both ok?

  9. #49
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Jul 2006
    Location
    Germany
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Maybe I release my first app without GC, but it's quite stupid because I offer an in-app item which allows to score higher
    In my case it's not a critical problem, because this title has no potential to be successful, I simply converted an old freeware game with the intention to try all these new things we have to learn. This should help prevent major mistakes for my first serious release.

    But the orientation problem may be an issue for those who want to compete with all the shiny polished apps out there. It's not only about GC. In-App purchase is also affected by the faulty GC orientation, as I described here.

Page 5 of 5 FirstFirst ... 3 4 5

Similar Threads

  1. [Bug] App starts in wrong orientation on iPod
    By JoKa in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 9th October 2012, 08:18 AM
  2. iOS volume icon wrong orientation
    By DaveC in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 7th May 2012, 08:47 AM
  3. Wrong orientation: Appstore login
    By JoKa in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 15th February 2012, 10:41 AM
  4. iOS Edit Box- wrong keyboard orientation
    By JoKa in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 15th November 2011, 06:40 AM
  5. Leaderboard INI
    By dsilvers in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 13th November 2009, 05:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •