Hello,
I've seen lots of threads about orientation and scaling issues and read (I think) all of them.
However my issue seems a *tiny* bit different.
- My app is designed for 960x640 virtual resolution
- Everything works fine on iPhone
- The problem happens specifically on iPad
Here's what happens.
- the game launches and displays the 'default.png' just fine which is designed specifically for the iPad's resolution
- my main menu screen loads in the proper landscape orientation
- HOWEVER it is squeezed down to half its size (from top to bottom)
- it will stay this way until I rotate the device, at which point it will change orientation and snap to the proper scaled size immediately!
So the app is capable of scaling it correctly, and does it once an orientation change is detected -- but I really want it to be scaled properly on launch.
Having it be messed up on first launch like this is going to make the people buying the game feel like its poorly done so this is a big deal for me!
Here is the area where I set up the resolution and orientations
agk::SetVirtualResolution (960, 640 );
agk::SetResolutionMode( 1 );
agk::SetOrientationAllowed( 0,0,1,1 );
agk::Sync();
agk::SetSyncRate( 60,1 );
loadSounds();
agk::PlaySound( 7, 100 );
loadImages();
read_SettingsFile();
createTexts();
MainMenu(); // setting main menu up on first launch
// this main menu is the one that is displaying wrong
Thanks for any help in advance, I'm ready to upload my app except for this issue
So I'm quite eager to see this resolved!
EDIT:
I am using the 1076 templates with Ancient Lady's XCode4 iOS6 updates.