-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconf.lua
More file actions
29 lines (25 loc) · 691 Bytes
/
conf.lua
File metadata and controls
29 lines (25 loc) · 691 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
function love.conf(t)
if love.filesystem.getInfo('project.lua') then
project = require('project')
else
project = require('projects/debug')
end
project.res.cx = project.res.x / 2
project.res.cy = project.res.y / 2
t.externalstorage = true
if project.name == 'roomedit' then
t.identity = 'roomedit'
project.saveloc = 'savedata/main.sav'
project.defaultsaveloc = 'data/defaultsave.json'
else
t.identity = 'lovetemplate'
project.saveloc = 'savedata/main.sav'
project.defaultsaveloc = 'data/defaultsave.json'
end
t.window.usedpiscale = false
if not project.release then
t.console = true
end
t.window.width = project.res.x
t.window.height = project.res.y
end