now your problem is “density”, wrt retina displays (or any high-density display, regardless of brand name, ie android)
corona normally handles this given a “typical” config.lua - but you’re intentionally bypassing that to get your pixel look
so instead of dividing TRUE pixelWidth/Height by 8, you’d want to divide “density-normalized-width/height” by 8.
that is, you’d like to treat a 2048x1536 device as if it were a 1024x768 device (or vice versa – just get either one “right”, then normalize the other to match)
on android this is pretty simple now that they’ve added some queries to system.getInfo() for dpi
on ios, i don’t think you can query for directly for dpi, but since there are fewer devices you could try sniff-detect by device name
hth