Here is my code in windows:
main.lua
local myimage = display.newImageRect( “test.png”, 480, 800);
myimage:setReferencePoint(display.CenterReferencePoint);
myimage.x = _W/2; myimage.y = _H/2;
_________________________________________
– config.lua
application =
{
content =
{
width = 480,
height = 800,
scale = “zoomEven”, imageSuffix =
{
["@2"] =.94,
},
},
}
________________________________________
Using the view options in the emulator
droid screen = 480 x 854
nexus one = 480 x 800
mytouch = 320 480
galaxy = 600 1024
I cannot understand how corona detremines when to use the “@2” image based upon the above values. There are no examples I have found that explain this logic.
[import]uid: 31039 topic_id: 6953 reply_id: 306953[/import]