-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.lua
More file actions
37 lines (33 loc) · 972 Bytes
/
config.lua
File metadata and controls
37 lines (33 loc) · 972 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
-- base size is 1200 X 800
local aspectRatio = display.pixelHeight / display.pixelWidth
application = {
content =
{
--width = aspectRatio > 1.5 and 800 or math.floor(1200/aspectRatio),
--height = aspectRatio > 1.5 and 1200 or math.floor(800 * aspectRatio),
--width = aspectRatio > 1.5 and 768 or math.floor(1024/aspectRatio),
--height = aspectRatio > 1.5 and 1024 or math.floor(768 * aspectRatio),
--width = 1024,
--height = 720,
scale = "letterBox",
fps = 60,
-- HD Images prefixes
imageSuffix =
{
["@2x"] = 1.3,
}
},
--[[
-- Push notifications
notification =
{
iphone =
{
types =
{
"badge", "sound", "alert", "newsstand"
}
}
}
--]]
}