Simple question about OpenGL ES & Landscape orientation

Discussion in 'Public Game Developers Forum' started by pchukwura, Oct 26, 2010.

  1. pchukwura

    pchukwura Well-Known Member

    Sep 15, 2010
    Co-Founder/Software Engineer
    So I have landscape orientation implemented by tweaking the glOrthof(..) and glRotatef(..) function for projection matrix mode. I'm getting to the point where i'm adding menus, title screen, pause screen and such to the game which I want to do using simple UIViews (as these are not apart of gameplay).

    Question is, since Apple recommends not using UIViewController's orientation mechanisms with Open GL(I assume this also includes the plist option of defaulting to landscape mode), how do you guys typically go about handling this?

    I'm guessing the UIView's frame is modified so you forcefully rotate the view?

Share This Page