-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.lua
32 lines (29 loc) · 936 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
29
30
31
32
-- required for debugging with VSCodes 'Local Lua Debugger' extension
if os.getenv("LOCAL_LUA_DEBUGGER_VSCODE") == "1" then
require("lldebugger").start()
end
-- define global constants here to keep 'main.lua' cleaner
GAME_WIDTH = 480
GAME_HEIGHT = 270
WINDOW_WIDTH = 960
WINDOW_HEIGHT = 540
function love.conf(t)
-- disable unused modules
t.modules.joystick = false
t.modules.physics = false
t.modules.thread = false
t.modules.touch = false
t.modules.video = false
-- initial window setup
-- t.window.display = 2
t.window.fullscreen = false
t.window.fullscreentype = 'desktop'
t.window.borderless = false
t.window.resizable = true
t.window.vsync = -1
t.window.width = WINDOW_WIDTH
t.window.height = WINDOW_HEIGHT
t.window.minwidth = GAME_WIDTH
t.window.minheight = GAME_HEIGHT
t.window.title = "Revenge of the Prairy King"
end