forked from KristalTeam/Kristal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
conf.lua
28 lines (24 loc) · 861 Bytes
/
conf.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
function love.conf(t)
-- If you intend to create a standalone game from this engine, make sure
-- to change "identity", "window.title" and "window.icon" to fit it.
-- This is to:
-- 1 - make sure user settings for the actual engine is not loaded;
-- 2 - make sure the name of the game is correctly presented during
-- startup. (Even when mod.json>setWindowTitle is true, we can only
-- do that when loading finishes.)
local major, minor, revision, codename = love.getVersion()
t.identity = "kristal"
-- TODO: hmm
t.version = "11.0"
t.window.title = "Kristal"
t.window.icon = "icon.png"
t.window.width = 640
t.window.height = 480
if major >= 12 then
t.highdpi = true
t.usedpiscale = false
else
t.window.highdpi = true
t.window.usedpiscale = false
end
end