When the GC leaderboard is shown in my automatic landscape app, it slides in from the right and it's orientation is in portrait.
Printable View
When the GC leaderboard is shown in my automatic landscape app, it slides in from the right and it's orientation is in portrait.
There is a big probability that this have been fixed for next version as it sounds very much like something I recently looked at. Can you report back if this is fixed once the next beta is out? :)
So, I wait for the next Beta in the MMF forum, because it will cover all runtimes, did I get this right when Build 253 was released?
is this fixed yet? i just tried displaying a leaderboard in my game, the game is landscape but the gamecenter leaderboard displayed portrait.
it would really help if someone could comment on this, it is the last thing stopping me from submitting to apple
Francois is semi away this week so we might not know the status until next week.
Maybe Andos knows?
Sorry, sometimes the forum bugs out for me and marks unread posts as read. I sometimes miss a post that way.
We will do a new release shortly after Francois is back from his holiday so it should be out sometime next week. If this is the only thing needed to submit your game you can PM me and I will send over a few files you can test.
PM Sent :)
These file should go in your XCode Project's "Application" folder:
http://www.andersriggelsen.dk/clickt.../cfullerNY.zip
Remember that you must overwrite the files in the folder every time you do a fresh XCode export from MMF2 as the files get overwritten with the old version :)
I hope it works for you. If it doesn't compile, please tell me as the new code could possibly depend on some other code that I didn't send you (though I looked it over quickly to see if that was the case).
Regards
Anders Riggelsen
Orientation seems to be a bit of an issue with MMF-built iOS apps. I believe it's because the app renders at the orientation set in the options despite what orientation the iPhone is displaying at, so it can often load iOS's own stuff at a different orientation to your app. The iPad is more obvious with this, launch your landscape app with the device in portrait, then any dialog boxes etc. will all be in portrait.
@DistantJ If you find any issues you should report them to Clickteam and then they will fix them :)
@Andos thanks a lot, I will try it and report back asap.
It is important that you know, this wrong orientation also applies to the achievements box as well.
Both achievements and leaderboards are displaying portrait, when they should be landscape.
Did you remember to run a full clean on your XCode project when you copied over the new files?
i built the project in mmf
i extracted the zip, added the files you provided in the correct directory
i loaded the project in xcode
i full - cleaned the project using command + option + shift + k (http://stackoverflow.com/questions/5...argets-xcode-4)
i ran the project on ipad2,
the GC leaderboard and achievement orientation is still wrong.
sorry to bump this but it is still the only thing i am waiting on before i can submit.
this is not fixed in todays new beta :(
Andos is away this week so I don't think he has completed working with you on this issue.
Hence why the latest beta doesn't have a change in this area.
When I see him around I will remind him about this for you.
Thanks Jeff
cfullerNY, have you considered using the built in 'display leader board' function until this issue is fixed? I believe if you check 'show leader board' in the properties you will get your own built-in leaderboard in the style of the High Score object.
Thanks for the suggestion Distant J, but the orientation issue also affects displaying the Game Center achievements.
I know you could say "well why not make your own achievement display system too" but Apple are known to give more love to apps that support Game Center, so I want to have the best chance I can possibly have of being featured in new and noteworthy.
Also, by launching without Game Center, my game would not be featured in the Game Center compatible games section of itunes store or the 'find game center games' section within the game center app.
True, but remember that when you submit an update you shoot back up to the top of the new releases, if you add gamecenter and then update it will appear in that list...
I'm adding gamecenter into an app too now so I can appreciate your frustration, I'm sure it won't be long though.
We'll find the source of this problem soon. But if you want a version sooner, yes, you could use the Game Center Achievement (no S) object to display the achievements. It is very simple to use, and it does work.
Is the Leaderboard Archievement Orientation fixed ????
Andos is not present this week. He will be next week, and he will work on this problem then.
OK .... Great. Thank you :)
After trying many different ways of fixing this it appears that that Apple simply didn't design the leaderboards to be overly orientation-changing-friendly.
All my attempts have 'sorta' worked but always had a major downside - for example only sorta working properly on either iPhone or iPad (never both).
The overlay controls that GameCenter displays drift around as if it can't decide which orientation to chose and which position to end up in when it animates out of view again.
We follow some strict coding guidelines on how to determine the application rotation: we specifically tell iOS not to do any automatic rotation as we handle all that ourselves. GameCenter does not seem to care of this.
I don't know what we can do about this for the time being sorry. I will send a support ticket to Apple on this matter for more in-depth understanding of their design choices of this.
A google search reveals that it seems to be a common problem.
On my iPod the Leaderboard and Achievement works perfect. when i rotate the iPod, also rotate the Leaderboard an Achievement. Only in the iPad it doesnt work.
Thanks for trying Andos, I hope you can fix it after talking to apple about it.
Is it possible to force the leaderboard to appear in a specific orientation?
Andos - the best remedy I can think of is to provide an option to open the leaderboard in the Game Center app itself. A lot of games I play do this - you touch the leaderboard button and it loads up the Game Center app already at the current leaderboard (at least it appears this way, as the leaderboards are full-screen rather than an overlay.
DistantJ, please can you tell me a free example game that does this so I can see ?
I am sure this would be useful to andos, too.
Hmm... I don't know any free games that do it, but try Blade Dash, it's the best 99c you'll ever spend, and it has an example of using the gamecenter that way.
i was literally going to buy that game today! the graphics are so nice. but i was put off because someone is spamming half the internet claiming to be an unbiased friend of the creator and that its the best game ever.
there must be a free game where you can do what you are suggesting...
Just as a further FYI - I am getting the same problem with Game Center Achievements and Leaderboards. Everything works fine but the leaderboards/achievements come in as portrait when my app is in landscape on my iPad 1.
Gnadegames --- Do you know if other apps not made with MMF/iOS Export have the same issue?
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
i'm thinking of upgrading to dev so I can use iAds and Gamecenter leader boards/achievements.. are you saying there definitely is a way to make use of these Game Center features? I'd like to be able to display high scores and do whatever else other games do in regards to achievements XD (I have no idea..haha)
The GC Leaderboard and achievements do work - but you cannot define their orientation. It seems like it is a common problem for them to remain in portrait when your app is in landscape. They are fully functional and work/look great but it is an annoyance to have to turn your device to read them.
I have also heard that Apple may reject your app because of this behavior.