Hey all,
I’ve got my app running fine now, after figuring out some differences between the simulator’s treatment of the mic and my iPhone’s treatment of it. My problem now is that the device does not want to load retina graphics. I’ve got files named appropriately (as far as I know):
app_title.png
app_title@2x.png
My config file is this:
if ( string.sub( system.getInfo("model"), 1, 2 ) == "iP" and display.pixelHeight \>= 960 ) then application = { content = { width = 320, height = 480, fps = 60, scale = "letterBox", xAlign = "center", yAlign = "center", imageSuffix = { ["@2x"] = 1.5, ["@4x"] = 3.0, }, }, } elseif ( string.sub( system.getInfo("model"), 1, 2 ) == "iP" ) then application = { content = { width = 320, height = 480, fps = 60, scale = "letterBox", xAlign = "center", yAlign = "center", imageSuffix = { ["@2x"] = 1.5, ["@4x"] = 3.0, }, }, } end
And I just create the image like this:
talk\_btn = display.newImage(talk, "talk\_btn.png")
Any ideas why it wouldn’t be picking up talk_btn@2x.png?