I am working on a app that i want to always run in a Landscape mode. I have this working just fine in the build.settings file.
I need some help though in getting it so that it works in a landscape mode when its either RightSideUp or RightSideDown or... however i should say this.
So what do i need to put in my build.settings to make it work for Android and IOS so no matter which Landscape mode a person is holding the device in, it will allow for it. right now what i have will let you hold the game upside down...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | settings = { android = { }, orientation = { default = "landscape", supported = { "landscape", }, }, iphone = { plist = { CFBundleIconFile = "Icon.png", CFBundleDisplayName = "AppName", CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-72.png", }, }, } } |
Hey rgleason!
This is what I use -
1 2 3 4 5 6 7 8 9 | orientation = { default ="landscapeRight", content = "landscapeRight", supported = { "landscapeRight" }, }, |
1 2 3 4 | orientation = { default = "landscapeRight", supported = { "landscapeRight", "landscapeLeft" } }, |
views:2622 update:2012/2/12 11:34:30