-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.lua
52 lines (48 loc) · 2.63 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
--[[
HELP:
+ config - это состояние игры при загрузке
+NO game.version убрать отсюда, чтобы игрок не мог изменить значение
+INFO игрок не будет иметь доступ к conf.lua
TODO:
-? config.controls перенести в input.lua
--]]
config = {}
function love.conf(argC)
argC.identity = "cutHolesTest" -- The name of the save directory (string)
argC.version = "0.9.2" -- The LÖVE version this game was made for
argC.console = true -- Windows only
config.gameVersion = "0.0.1"
argC.window.title = [[cutHolesTest, v]] .. config.gameVersion .. " (" .. os.date("%Y.%m.%d-%H.%M.%S") .. [[); Copyright © Savoshchanka Anton, 2015 (twitter.com/AntonioModer); LÖVE 2D-framework (love2d.org)]]
argC.window.icon = nil -- Filepath to an image to use as the window's icon (string)
argC.window.width = 800
argC.window.height = 600
argC.window.borderless = false -- Remove all border visuals from the window
argC.window.resizable = false -- Let the window be user-resizable
argC.window.minwidth = 1 -- Minimum window width if the window is resizable
argC.window.minheight = 1 -- Minimum window height if the window is resizable
argC.window.fullscreen = false
argC.window.fullscreentype = "normal" -- "desktop" or "normal"
argC.window.vsync = false -- Enable vertical sync
argC.window.fsaa = 0 -- The number of samples to use with multi-sampled antialiasing
argC.window.display = 1 -- Index of the monitor to show the window in
argC.window.highdpi = false -- Enable high-dpi mode for the window on a Retina display (boolean); default = false
argC.window.srgb = false -- Enable sRGB gamma correction when drawing to the screen (boolean); default = false
argC.window.x = nil
argC.window.y = nil
argC.modules.audio = true
argC.modules.event = true
argC.modules.graphics = true
argC.modules.image = true
argC.modules.joystick = true
argC.modules.keyboard = true
argC.modules.math = true
argC.modules.mouse = true
argC.modules.physics = true
argC.modules.sound = true
argC.modules.system = true
argC.modules.timer = true
argC.modules.window = true
config.window = {}
config.window.width = argC.window.width
config.window.height = argC.window.height
end