-
Notifications
You must be signed in to change notification settings - Fork 3
/
conf.lua
75 lines (69 loc) · 2.6 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
--[[
conf.lua
Copyright (C) 2016 Kano Computing Ltd.
License: http://www.gnu.org/licenses/gpl-2.0.txt GNU GPL v2
This is the game configuration file specific to LÖVE 2D.
]]--
function love.conf(t)
-- The name of the save directory (string)
t.identity = "kanoOverworld"
-- The LÖVE version this game was made for (string)
t.version = "11.1"
-- Attach a console (boolean, Windows only)
t.console = false
-- Enable the accelerometer on iOS and Android by exposing it as a Joystick (boolean)
t.accelerometerjoystick = false
-- Enable gamma-correct rendering, when supported by the system (boolean)
t.gammacorrect = false
-- The window title (string)
t.window.title = "Kano Overworld"
-- Filepath to an image to use as the window's icon (string)
t.window.icon = nil
-- The window width (number)
t.window.width = 960
-- The window height (number)
t.window.height = 544
-- Remove all border visuals from the window (boolean)
t.window.borderless = false
-- Let the window be user-resizable (boolean)
t.window.resizable = false
-- Minimum window width if the window is resizable (number)
t.window.minwidth = 1
-- Minimum window height if the window is resizable (number)
t.window.minheight = 1
-- Enable fullscreen (boolean)
t.window.fullscreen = true
-- Choose between "desktop" fullscreen or "exclusive" fullscreen mode (string)
t.window.fullscreentype = "desktop"
-- Enable vertical sync (boolean)
t.window.vsync = true
-- The number of samples to use with multi-sampled antialiasing (number)
t.window.msaa = 0
-- Index of the monitor to show the window in (number)
t.window.display = 1
-- Enable high-dpi mode for the window on a Retina display (boolean)
t.window.highdpi = false
-- The x-coordinate of the window's position in the specified display (number)
t.window.x = nil
-- The y-coordinate of the window's position in the specified display (number)
t.window.y = nil
-- Enabled LÖVE 2D modules (boolean)
t.modules.audio = true
t.modules.event = true
t.modules.graphics = true
t.modules.image = true
t.modules.keyboard = true
t.modules.math = true
t.modules.mouse = true
t.modules.sound = true
t.modules.system = true
t.modules.thread = true
t.modules.timer = true -- Disabling it will result 0 delta time in love.update
t.modules.window = true
-- Disabled LÖVE 2D modules (boolean)
t.modules.joystick = false
t.modules.physics = false
t.modules.thread = false
t.modules.touch = true
t.modules.video = false
end