Hello guys!
I’m starting with Corona and tvOS… so I am still a bit confused about a few things…
For instance… tvOS and screen size. For what I know, appletv HD is default 1920x1080.
So at my code I set background as:
(main.lua)
local background = display.newImageRect( “background.png”, 1920, 1080 )
background.x = display.contentCenterX
background.y = display.contentCenterY
And its configuration:
(config.lua)
application =
{
content =
{
fps = 60,
width = 1920,
height = 1080,
scale = “letterbox”,
xAlign = “center”,
yAlign = “center”,
imageSuffix =
{
["@2x"] = 2,
["@4x"] = 4,
}
}
}
But what I get is the image smaller than the screen… leaving blank spaces around the image.
What am I doing wrong? It presents the same result both on the simulator and the atv4 device.
Thanks for the help!