Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Problem with Landscape Orientation and zoomEven
Started by aclementerodrguez Jun 13 2019 09:30 PM

1 reply to this topic
orientation landscape orientation landscape landscaperight
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

aclementerodrguez

[GLOBAL: userInfoPane.html]
aclementerodrguez
  • Observer

  • 23 posts
  • Corona SDK

Hi there

 

My project have this settings:

 

'build.settings'

 

...
  orientation =
   {
         -- Supported values for orientation:
      
         default = "landscapeRight",
         supported = { "landscapeRight", },
   },
 ...
 
'config.lua'
 
...
       content =
       {
           width = 700,
           height = 1100,
           scale = "zoomEven", 
           fps = 60,
 
           imageSuffix =
           {
               ["@2x"] = 1.5
           }
     },
...
 
The problem is that the content is clipped and I don't know why reason because my scaling configuration is set to 'zommEven'. The documentation said that the width and height of the project have to be always defined in respect to portrait orientation, so my width is 700 and height 1100.
 
Take a look at the screenshot attached. * This screenshot is in Corona simulator

Attached Files



[TOPIC: post.html]
#2

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 2,108 posts
  • Corona SDK

Read this - https://docs.coronalabs.com/guide/basics/configSettings/index.html




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: orientation, landscape orientation, landscape, landscaperight