Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local w, h = display.pixelWidth, display.pixelHeight
- if w >= 480 then
- w = w * 0.5
- h = h * 0.5
- end
- if w >= 480 then
- w = w * 0.5
- h = h * 0.5
- end
- application = {
- content = {
- width = w, height = h,
- scale = 'letterbox',
- imageSuffix = {['@2x'] = 1.2, ['@4x'] = 2.5},
- fps = 60
- }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement