Game's iPad appearance much smaller than Simulator

I am using only png images for my game.  They look stellar on the corona Simulator and everything is aligned nicely on the simulator.

I got Xcode and all the necessary certs. and files to display my app on my iPad 3.  It displays on the iPad.

HOWEVER, all the png files are showing much much smaller and it’s as if only the upper left side of screen is where the game is located.  In other words, the whole iPad screen is not populated as it is in the Corona simulator.

I thought maybe this was because of my build.settings which shows only this in it:

settings = {

    

    orientation = {

        default = “landscapeRight”

    }

}

However, when I did  Brian Burton’s Ch. 4 test app and loaded it on the iPad, it filled up the screen and there was no build.settings file at all.

What do you think is the problem?  Why is it showing how I want it on the Corona Simulator but so differently on the actual iPad?

Thanks for any help you can offer.

What does your config.lua file look like?

I don’t have a config.lua in the folder.  

Interestingly enough the Ch4. simple program Brian Burton has us do didn’t use a config.lua file either.

But I take it this is the missing link?

I found another project that has this for iPad.  I’ll try this out and see what happens.

[cc lang=“lua”]

application =

{

content =

{

width = 768,

height = 1024,

scale = “zoomEven”

}

}

[/cc]

I should think so. What does it look like when you put the Corona in iPad Retina mode?

iPad Retina mode in the Simulator produces the same shrunken effect as when I view it on the actual iPad.

Try something like this in config.lua:

[lua]

application =

{

    content =

    {

        width = 768,

        height = 1024,

        scale = “letterbox”,

        fps = 60,

        antialias = false,

        imageSuffix =

        {

            ["@2x"] = 1.6,

            ["@4x"] = 3.5

        },

    },

}

[/lua]

When I tried this code in the config.lua I kept receiving null error messages.  I removed the config.lua file from my project and it built just fine.

[cc lang=“lua”]

application =

{

content =

{

width = 768,

height = 1024,

scale = “zoomEven”

}

}

[/cc]

 

 

Then I substituted your code, put the config.lua back in the project folder and it built out just fine and it looks great on the actual iPad now and it looks fine on the Simulator’s iPad Retina mode, too.  Thanks so much for your help!

 

I only have one set of images in the project folder since we’re just testing this on the iPad only (not the retina model).  So when I look at the code you provided versus what I was using before, I’m guessing it’s the zoomEven vs Letterbox scaling that produced the difference?

 

  1. application =
  2. {
  3.     content =
  4.     {
  5.         width = 768,
  6.         height = 1024,
  7.         scale = “letterbox”,
  8.         fps = 60,
  9.         antialias = false,
  10.         imageSuffix =
  11.         {
  12.             ["@2x"] = 1.6,
  13.             ["@4x"] = 3.5
  14.         },
  15.     },
  16.  
  17. }

Thanks again so much for taking the time with a newbie!

What does your config.lua file look like?

I don’t have a config.lua in the folder.  

Interestingly enough the Ch4. simple program Brian Burton has us do didn’t use a config.lua file either.

But I take it this is the missing link?

I found another project that has this for iPad.  I’ll try this out and see what happens.

[cc lang=“lua”]

application =

{

content =

{

width = 768,

height = 1024,

scale = “zoomEven”

}

}

[/cc]

I should think so. What does it look like when you put the Corona in iPad Retina mode?

iPad Retina mode in the Simulator produces the same shrunken effect as when I view it on the actual iPad.

Try something like this in config.lua:

[lua]

application =

{

    content =

    {

        width = 768,

        height = 1024,

        scale = “letterbox”,

        fps = 60,

        antialias = false,

        imageSuffix =

        {

            ["@2x"] = 1.6,

            ["@4x"] = 3.5

        },

    },

}

[/lua]

When I tried this code in the config.lua I kept receiving null error messages.  I removed the config.lua file from my project and it built just fine.

[cc lang=“lua”]

application =

{

content =

{

width = 768,

height = 1024,

scale = “zoomEven”

}

}

[/cc]

 

 

Then I substituted your code, put the config.lua back in the project folder and it built out just fine and it looks great on the actual iPad now and it looks fine on the Simulator’s iPad Retina mode, too.  Thanks so much for your help!

 

I only have one set of images in the project folder since we’re just testing this on the iPad only (not the retina model).  So when I look at the code you provided versus what I was using before, I’m guessing it’s the zoomEven vs Letterbox scaling that produced the difference?

 

  1. application =
  2. {
  3.     content =
  4.     {
  5.         width = 768,
  6.         height = 1024,
  7.         scale = “letterbox”,
  8.         fps = 60,
  9.         antialias = false,
  10.         imageSuffix =
  11.         {
  12.             ["@2x"] = 1.6,
  13.             ["@4x"] = 3.5
  14.         },
  15.     },
  16.  
  17. }

Thanks again so much for taking the time with a newbie!