Jump to content


Photo

Force game to landscape mode?


  • Please log in to reply
4 replies to this topic

#1 ChefDavid22

ChefDavid22

    No, YOU shut up!

  • GMC Member
  • 1193 posts
  • Version:GM:Studio

Posted 26 April 2012 - 07:55 PM

after I launch my game on the android device it loads in the wrong aspect. Rather than landscape it goes into standard mode?

Edited by ChefDavid22, 26 April 2012 - 07:55 PM.

  • 0

#2 Harrk

Harrk

    GMC Member

  • GMC Member
  • 183 posts
  • Version:GM8

Posted 26 April 2012 - 08:26 PM

android:screenOrientation="landscape"

Make sure you have that included in your manifest file, under activity. I haven't played with studio yet but I'm familiar with Android, I hope studio isn't much different when it comes to the manifest file.
In that case someone else will have to answer it :P

In action:
<activity
            android:name=".test"
            android:label="Test name"
            android:screenOrientation="landscape"
            android:configChanges="keyboard|keyboardHidden|orientation"
>

  • 0

#3 ChefDavid22

ChefDavid22

    No, YOU shut up!

  • GMC Member
  • 1193 posts
  • Version:GM:Studio

Posted 26 April 2012 - 08:48 PM

After reading around it would appear that you cant do it in the beta version. Strange, but whatever.
  • 0

#4 NakedPaulToast

NakedPaulToast

    GM Studio/Mac/Win

  • GMC Member
  • 7202 posts
  • Version:GM:Studio

Posted 26 April 2012 - 09:23 PM

After reading around it would appear that you cant do it in the beta version. Strange, but whatever.

It has since been resolved.

Ensure:
  • Global Settings / Android / Landscape (only is checked)
  • You're on v1.0.144
  • You aren't in Stable Only - Automatic Updates
  • You've updated your runner on the device.

  • 0

#5 ChefDavid22

ChefDavid22

    No, YOU shut up!

  • GMC Member
  • 1193 posts
  • Version:GM:Studio

Posted 26 April 2012 - 10:19 PM


After reading around it would appear that you cant do it in the beta version. Strange, but whatever.

It has since been resolved.

Ensure:
  • Global Settings / Android / Landscape (only is checked)
  • You're on v1.0.144
  • You aren't in Stable Only - Automatic Updates
  • You've updated your runner on the device.


Thanks man I'll take a look. I wasnt upset ;-) I was more than happy to be patient and wait because I am not going anywhere. :biggrin:
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users