Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scale = tonumber(string.format("%." .. (1) .. "f", 1/display.contentScaleY))
- if scale == 1 then
- ImageSuffix = ""
- TileImageSuffix = "-low"
- elseif scale == 1.5 then
- ImageSuffix = "-800"
- else
- ImageSuffix = "-1024"
- end
Add Comment
Please, Sign In to add comment