SIO2 with Portrait Mode Rendering

View previous topic View next topic Go down

SIO2 with Portrait Mode Rendering

Post  matthew on Sun Jan 18, 2009 10:18 pm

Since tutorial1 works in portrait mode, it must be possible get tutorial6 working in portrait mode.

But even though the iPhone simulator was in portrait mode, all graphics were rendered in landscape mode?

What needs to be done for 3d graphics to be rendered in portrait mode? javascript:emoticonp('cheers')

Are there any games out there now that run in portrait mode?

Cheers.

matthew

Posts : 64
Join date : 2008-11-12

View user profile

Back to top Go down

Re: SIO2 with Portrait Mode Rendering

Post  sio2interactive on Sun Jan 18, 2009 11:19 pm

Just comment:

sio2WindowEnterLandscape3D
sio2WindowLeaveLandscape3D

in template.mm

and

[[UIApplication sharedApplication] setStatusBarOrientation: UIInterfaceOrientationLandscapeRight animated: NO];

in templateAppDelegate.m
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

SIO2 with Portrait Mode Rendering

Post  matthew on Mon Jan 19, 2009 8:01 am

Great, thanks sio2!!

matthew

Posts : 64
Join date : 2008-11-12

View user profile

Back to top Go down

Re: SIO2 with Portrait Mode Rendering

Post  monsterkodi on Sat Jan 24, 2009 9:01 am

I have a strange problem with this solution:
In the simulator it works perfectly.
But on the device, the screen goes black for one frame on each touch event (iPhone OS version 2.2).
Has anybody the same problem or any idea why that happens and how to solve it?
avatar
monsterkodi

Posts : 21
Join date : 2009-01-15

View user profile http://monsterkodi.net

Back to top Go down

Re: SIO2 with Portrait Mode Rendering

Post  monsterkodi on Sun Jan 25, 2009 4:46 am

Never mind, the problem is fixed in 1.3.2.
avatar
monsterkodi

Posts : 21
Join date : 2009-01-15

View user profile http://monsterkodi.net

Back to top Go down

Re: SIO2 with Portrait Mode Rendering

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum