how to work with sideways

I have problems when working with sideways, the image does not adapt correctly to the screen nor do I know what screen resolution I am working with.

thanks for all.

I have problems when working with sideways, the image does not adapt correctly to the screen nor do I know what screen resolution I am working with.

Welcome to the forums.

Orientation is controlled in build.settings. You have to set a virtual width and height in config.lua that determines what you want one dot to means to your app. If you’re not setting these values or you don’t know what they are, then you’re going to find working with Corona frustrating.

See this blog post to help you understand the content area:  https://coronalabs.com/blog/2018/08/08/understanding-content-scaling-in-corona/

This section of our build.settings guide covers controlling orientation in build.settings: http://docs.coronalabs.com/guide/distribution/buildSettings/index.html#orientation

Rob

Welcome to the forums.

Orientation is controlled in build.settings. You have to set a virtual width and height in config.lua that determines what you want one dot to means to your app. If you’re not setting these values or you don’t know what they are, then you’re going to find working with Corona frustrating.

See this blog post to help you understand the content area:  https://coronalabs.com/blog/2018/08/08/understanding-content-scaling-in-corona/

This section of our build.settings guide covers controlling orientation in build.settings: http://docs.coronalabs.com/guide/distribution/buildSettings/index.html#orientation

Rob