Gamecenter Leaderboard and Achievement window orientation
by Ray Delia · in iTorque 2D · 02/19/2012 (9:25 pm) · 1 replies
Hey All,
I have set up a leader-board, and achievements for game center, and they seem to be working well in the sandbox.
I want to use the showLeaderboard(); and showAchievements(); functions, but the windows appear rotated 90' to the left on top of my landscape app.
I tried digging a bit into the source code, but didn't find anything that looked obvious.
Anyone have any insight on how to rotate those modal windows?
*Edit, Also, if I rotate the screen 180' and try to pull the leaderboard, the screen goes dim, and input is no longer accepted.
I have set up a leader-board, and achievements for game center, and they seem to be working well in the sandbox.
I want to use the showLeaderboard(); and showAchievements(); functions, but the windows appear rotated 90' to the left on top of my landscape app.
I tried digging a bit into the source code, but didn't find anything that looked obvious.
Anyone have any insight on how to rotate those modal windows?
*Edit, Also, if I rotate the screen 180' and try to pull the leaderboard, the screen goes dim, and input is no longer accepted.
About the author
I have been immersed in Torquescript since 8-1-2011, and have really been impressed with the product, and supporting community. I have several blog posts that contain tutorials for iTorque if anyone is interested.
Ray Delia
SK Studios
I tried several versions of transform commands, but this wound up working:
I did the same for the achievement view , and now they both show up fine in landscape.
I still have the issue where if I flip the device, then hit the game center icon, the view never appears, but the screen goes dim, and all touch input is disabled. It looks like the UIView is somewhere of the screen so you can't touch it. I am thinking about just disabling rotation for my release.