-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconf.lua
More file actions
27 lines (26 loc) · 791 Bytes
/
conf.lua
File metadata and controls
27 lines (26 loc) · 791 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
function love.conf(t)
CONF = {}
CONF.gameTitle = "Game Title"
CONF.subTitle = "Subtitle"
CONF.version = 0.1
CONF.width = 128
CONF.height = 128
CONF.cameraZoom = 5
CONF.release = true
--[[ Proceed with caution below this line ]]--
CONF.windowWidth = (CONF.width * CONF.cameraZoom)
CONF.windowHeight = (CONF.height* CONF.cameraZoom)
t.title = CONF.gameTitle -- Window title
t.window.width = CONF.windowWidth
t.window.height = CONF.windowHeight
t.window.icon = "assets/ricon16.png"
t.window.resizable = false
t.window.fullscreen = false
t.console = true -- for logging to stdout
t.version = "0.10.0"
if CONF.release then
CONF.env = "release"
else
CONF.env = "development"
end
end