So I have been looking around for a little bit now but can’t seem to find an answer. I have programmed my app to run on either the iPhone or iPad but I cannot get the images to scale properly. First let’s look at my config.lua file:
[lua]application =
{
content =
{
fps = 60,
width = 320,
height = 480,
scale = “letterbox”,
imageSuffix =
{
["@2x"] = 2
},
},
}[/lua]
I am using the letterbox scaling mode as well as this imageSuffix parameter. When I save my files, I always do for example, background.png with a width of 480 and a height of 320 ( I am in landscape mode ) and then I save background@2x.png with a width of 960 and a height of 640.
The background@2x.png does not seem to be called when I change the device. I think there is a step that I am missing though. Can anyone help me out?
BTW. I am using build version 2012.815 (2012.12.8) [import]uid: 50511 topic_id: 27368 reply_id: 327368[/import]