www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: lapusneanugabi on April 27, 2012, 08:53:53 AM

Title: rotate the orientation of scene
Post by: lapusneanugabi on April 27, 2012, 08:53:53 AM
Hi,

I want to rotate the orientation of scene from portrait to landscape without the logic of game to be affected.

How can i do this?
Title: Re: rotate the orientation of scene
Post by: EgonOlsen on April 27, 2012, 10:56:11 AM
I don't get the question. What does the orientation has to do with the game's logic?
Title: Re: rotate the orientation of scene
Post by: lapusneanugabi on April 27, 2012, 11:03:10 AM
Quote from: EgonOlsen on April 27, 2012, 10:56:11 AM
I don't get the question. What does the orientation has to do with the game's logic?

rephrase.

I want to rotate the orientation of scene from portrait to landscape. how can i do this?
Title: Re: rotate the orientation of scene
Post by: EgonOlsen on April 27, 2012, 11:52:23 AM
By tilting the phone. Or by using a fixed orientation that can be set on the activity's start up. You'll find how to do this in the Android docs... it's not engine related.