Hi,
I don’t know why my image selection does not work properly.
This is my config.lua file:
application =
{
content =
{
width = 640,
height = 960,
scale = “letterbox”,
imageSuffix =
{
["@320"] = 0.5
},
fps = 60
}
}
In my project folder I have (*.png *@320.png) and (*.jpg *@320.jpg) files.
The problem is only the *@320.* files are loaded for any device I try in the simulator, with the exception of the iPhone4/5 where it works as it should and it selects the high resolution assets by default.
To be clear, when I select iPad retina, iPad, kindle HD, etc … in the simulator, the app loads the @320 assets by default.
This does not make sense for me.
Thanks for your answer,
Ignacio
P.S.: I’m using the latest public release.
P.S.2: I’m not using widgets in my ‘main.lua’ file but I’m using ‘native.newTextField’ and ‘native.newTextBox’