I’ve created my sprites for an HD resolution of 1080x1920, and I’ve named those with a “@4x” suffix. The half-resolution versions have a “@2x” suffix, and the quarter-resolution versions have no suffix.
Everything works fine in the simulator with all the devices available there–e.g. original iPhone uses the no-suffix sprites, Galaxy S3 uses “@2x”, and retina iPad uses “@4x”. My old 480x800 Samsung Galaxy S uses the correct “@2x”. But my new Galaxy Note 3, with 1080x1920 screen, chooses the crappiest no-suffix sprites.
Here is my config.lua. Any idea what’s going wrong here? Thanks!
application = { content = { width = 1080, height = 1920, scale = "zoomEven", fps = "60", imageSuffix = { ["@2x"] = 0.375, ["@4x"] = 0.75, }, } }
Edit: Further investigation revealed that any 1080x1920 device in the simulator also chose the crappy no-suffix sprites. Oddly, changing width and height to 1081x1921 in the config.lua fixed the problem. But weird hacks like that are unsatisfying–I’d like to understand why it fixed it and what the correct solution is.