-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.lua
33 lines (29 loc) · 917 Bytes
/
config.lua
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
------------------------------------------------------------------------------
--
-- This file is part of OpenBilgi, a roguelike trivia game repository
--
-- For overview and more information on licensing please refer to README.md
--
-- Home page: https://github.com/sekodev/OpenBilgi
--
-- Contact: info.sleepybug@gmail.com
--
------------------------------------------------------------------------------
local widthStarting, heightStarting = 720, 1280
local pixelWidth, pixelHeight = display.pixelWidth, display.pixelHeight
local scale = math.max(widthStarting / pixelWidth, heightStarting / pixelHeight)
local widthResolution, heightResolution = pixelWidth * scale, pixelHeight * scale
application =
{
content =
{
width = widthResolution,
height = heightResolution,
fps = 60,
imageSuffix =
{
["@2x"] = 1.5,
["@4x"] = 3,
},
},
}