Hi all,
I am building an APP together with a few HS students. We wanted to reduce the number of screens so the “credits” are on the initial screen. The students have produced “Splash.png” (320x480) and “Splash@2x.png” (640x960), both at 72px.
If I use newImage(“Splash.png”), the @2x file does not display in iPhone 4. If I use newImageRect(“Splash.png”, 320, 480) then regardless of which file is picked up by the simulator, the image is displayed in the top left quarter of the screen. How can I make it fill the screen?
My config.lua looks like this:
application =
{
content =
{
width = 320,
height = 480,
scale = “letterbox”,
fps = 30,
imageSuffix =
{
["@2x"] = 2,
},
},
}
Sincerely,
Ziad. [import]uid: 22300 topic_id: 17704 reply_id: 317704[/import]
[import]uid: 52491 topic_id: 17704 reply_id: 67477[/import]
