-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.lua
More file actions
150 lines (148 loc) · 3.14 KB
/
Copy pathconfig.lua
File metadata and controls
150 lines (148 loc) · 3.14 KB
1
if string.sub(system.getInfo("model"),1,4) == "iPad" then application = { launchPad = false, content = { width = 360, height = 480, scale = "letterBox", xAlign = "center", yAlign = "center", imagesuffix = { ["@2x"] = 1.5, ["@4x"] = 3.0, }, }, LevelHelperSettings = { imagesSubfolder = "images", levelsSubfolder = "levels" }, notification = { iphone = { types = { "badge", "sound", "alert" } } } }elseif string.sub(system.getInfo("model"),1,2) == "iP" and display.pixelHeight > 960 then application = { launchPad = false, content = { width = 320, height = 568, scale = "letterBox", xAlign = "center", yAlign = "center", imagesuffix = { ["@2x"] = 1.5, ["@4x"] = 3.0, }, }, LevelHelperSettings = { imagesSubfolder = "images", levelsSubfolder = "levels" }, notification = { iphone = { types = { "badge", "sound", "alert" } } } }elseif string.sub(system.getInfo("model"),1,2) == "iP" then application = { launchPad = false, content = { width = 320, height = 480, scale = "letterBox", xAlign = "center", yAlign = "center", imagesuffix = { ["@2x"] = 1.5, ["@4x"] = 3.0, }, }, LevelHelperSettings = { imagesSubfolder = "images", levelsSubfolder = "levels" }, notification = { iphone = { types = { "badge", "sound", "alert" } } } }elseif display.pixelHeight / display.pixelWidth > 1.72 then application = { launchPad = false, content = { width = 320, height = 570, scale = "letterBox", xAlign = "center", yAlign = "center", imagesuffix = { ["@2x"] = 1.5, ["@4x"] = 3.0, }, }, LevelHelperSettings = { imagesSubfolder = "images", levelsSubfolder = "levels" }, }else application = { launchPad = false, content = { width = 320, height = 512, scale = "letterBox", xAlign = "center", yAlign = "center", imagesuffix = { ["@2x"] = 1.5, ["@4x"] = 3.0, }, }, LevelHelperSettings = { imagesSubfolder = "images", levelsSubfolder = "levels" }, notification = { iphone = { types = { "badge", "sound", "alert" } } } }end