Corona Comics in Landscape

7 replies [Last post]
d3mac123
User offline. Last seen 20 weeks 3 days ago. Offline
Joined: 12 Feb 2010

Trying to create a landscape comic, I am still seeing the original landscape image "compressed/rotate" in the center of the screen (instead of the full view). I changed the build.lua file to landscape but it seems the portrait dimensions are hard coded in the Reader.lua.

Is there any workaround for that?
Thanks!
Alex

Replies

Aman
User offline. Last seen 8 years 43 weeks ago. Offline
Joined: 8 Feb 2011

That's odd. This is the orientation code in my build file and it is working on Landscape mode all the time:

1
2
3
4
5
6
7
8
9
10
11
settings =
{
        orientation = 
        {
                default = "landscapeRight",
                supported = 
                {
                        "landscapeLeft", "landscapeRight"
                },
                                        
        }

There is another way to do it. But it will work with iOS only and for that specific file. I am planning to start a comic based app myself and I think this is the best way to force landscape mode

d3mac123
User offline. Last seen 20 weeks 3 days ago. Offline
Joined: 12 Feb 2010

Aman,

Thanks for your return. This is exactly what I am doing. Unfortunately what I am seeing in the simulator is this:

The correct should be to see the full picture using the full screen in landscape.
Alex

Aman
User offline. Last seen 8 years 43 weeks ago. Offline
Joined: 8 Feb 2011

Can you paste in the code where you define the image? and the size of the image please.

d3mac123
User offline. Last seen 20 weeks 3 days ago. Offline
Joined: 12 Feb 2010

Aman, this is the code:
-- build.settings
settings =
{
orientation =
{
default = "landscapeRight",
content = "landscapeRight",
supported = { "landscapeLeft", "landscapeRight"}
},

iphone =
{
plist=
{
UIHiddenStatusBar="YES",
},
},
}

the image is 1024x768

ssinger
User offline. Last seen 27 weeks 3 days ago. Offline
Joined: 4 Nov 2010

did you get this working --- if not, what is your config.lua?

d3mac123
User offline. Last seen 20 weeks 3 days ago. Offline
Joined: 12 Feb 2010

Not solved yet. I haven't created a config.lua file for this project.

dvdmary77
User offline. Last seen 8 years 24 weeks ago. Offline
Joined: 9 Sep 2011

Throughout history diamond rings have become larger, more elaborate, and have included a wide variety of other jewels and metals. However, modern times demand a new look at why we give or possess the diamond ring. Regardless of the intention of the diamond ring itself, its purpose should be up to the giver, and not confined to the mere traditional purposes of engagement rings, wedding rings, or promise rings.

Engagement Rings Ireland

Viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.