CrashLander - LandScape - EAGLView = ARGH!!!!!!!!!!!!!
I thought the crash lander app was a perfect template for me. Everything is working great except now I realize my game will really work better in landscape mode than portrait. I can't get it to work no matter what I try
I've read through the many posts on the forum about this. I've tried transforming the layer 90 degrees (everything looks squished), I've tried plist values (UIInterfaceOrientation). I've tried setStatusBarOrientation in applicationFinishedLaunching. I can't get it to work right. There's always something wrong with the result. I'm not even trying on the simulator, I'm just trying to get it working right on the actual device.
From my apps perspective, I just want my code to see a device that is 480 pixels wide and 320 pixels tall.
The crash lander code just has an app delegate and a special myEAGLView class that gets setup right from the app delegate. Is the only way I'm going to do this is to add a viewcontroller for the EAGLView? (EaglView is a UIView so I assume that is possible?)
Any suggestions?
|