I want to make a game in landscape mode, but I can’t seem to figure out how. I made my game width 800 and my height 480. Then, in my build settings, I put that it’s default is “landscapeRight” and it only supports “landscapeRight”. My goal here is to get the simulator to rotate like it does for Tilt Monster. Unfortunately, I don’t know how to do it.
A picture says a thousand words…
http://dl.dropbox.com/u/27644193/Makin'%20Bank.PNG
config.lua
[lua]application =
{
content =
{
width = 800,
height = 480,
scale = “letterbox”,
},
}[/lua]
build.settings
[code]settings =
{
orientation =
{
default = “landscapeRight”,
supported = {“landscapeRight”, “landscapeLeft”},
},
android =
{
versionCode = “1”,
versionName = “1.0”,
},
}[/code] [import]uid: 103624 topic_id: 17688 reply_id: 317688[/import]
[import]uid: 12482 topic_id: 17688 reply_id: 67361[/import]
[import]uid: 103624 topic_id: 17688 reply_id: 67363[/import]