Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 09-28-2008, 03:08 PM   #1 (permalink)
Registered Member
 
Join Date: Aug 2008
Posts: 43
Default 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?
zacware is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,145
Threads: 38,923
Posts: 170,776
Top Poster: smasher (2,565)
Welcome to our newest member, user314159
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:37 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0