Guess Im missing something because they dont swap in
for instance in the following code image 22@2x.png gets used but 1@2x.png doesn’t
function new()
local localGroup = display.newGroup()
display.setStatusBar(display.HiddenStatusBar)
local background=display.newImageRect(“22.png”,380,570)
localGroup:insert(background)
background.x = display.contentWidth / 2
background.y = display.contentHeight / 2
local v1 =display.newImageRect(“1.png”,90,50)
localGroup:insert(v1)
v1.x=display.contentWidth/5.5
v1.y=display.contentHeight/4*1.17
local v2 =display.newImageRect(“2.png”,90,50)
localGroup:insert(v2)
v2.x=display.contentWidth/2*1
v2.y=display.contentHeight/4*1.16
and this is my config.lua
application =
{
content =
{
width = 320,
height = 480,
scale = “letterbox”,
imageSuffix =
{
["@2x"] = 1.8,
},
},
} [import]uid: 107974 topic_id: 22123 reply_id: 87956[/import]