Guest User

Untitled

a guest
Jan 21st, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. scale = tonumber(string.format("%." .. (1) .. "f", 1/display.contentScaleY))
  2. if scale == 1 then
  3. ImageSuffix = ""
  4. TileImageSuffix = "-low"
  5. elseif scale == 1.5 then
  6. ImageSuffix = "-800"
  7. else
  8. ImageSuffix = "-1024"
  9. end
Add Comment
Please, Sign In to add comment