-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconf.lua
More file actions
43 lines (37 loc) · 2.92 KB
/
Copy pathconf.lua
File metadata and controls
43 lines (37 loc) · 2.92 KB
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
--[[ 引擎配置,初始化 --]]
io.stdout:setvbuf("no") --控制台输出窗口,优先输出如果没有则在程序结束后再输出的
function love.conf(t)
t.identity = nil -- 盘存文件夹的名称 (string)
t.version = 11.1 -- 此游戏对应的 L?VE 版本(string)
t.console = false -- 附带控制台 (boolean, Windows only)
t.window.title = "test" -- 程序窗口标题 (string)
t.window.icon = nil -- 使用一张游戏目录中的图片作为窗口图标 (string)
t.window.width = 800 -- 程序窗口宽 (number)
t.window.height = 600 -- 程序窗口高 (number)
t.window.borderless = false -- 移除所有程序边框的视觉效果 (boolean)
t.window.resizable = false -- 允许鼠标拖动调整窗口的宽度和高度 (boolean)
t.window.minwidth = 1 -- 程序窗口的最小宽度,仅当t.window.resizable = true 时生效 (number)
t.window.minheight = 1 -- 程序窗口的最小高度,仅当t.window.resizable = true 时生效 (number)
t.window.fullscreen = false -- 打开程序后全屏运行游戏 (boolean)
t.window.fullscreentype = "desktop" -- Choose between "desktop" fullscreen or "exclusive" fullscreen mode (string)
-- 标准全屏或者桌面全屏 (string)
t.window.vsync = true -- 垂直同步 (boolean)
t.window.fsaa = 0 -- 采用多样本采样抗锯齿 (number)
t.window.display = 1 -- 显示器的指示显示窗口 (number)
t.window.highdpi = false -- 允许在视网膜显示器(Retina)下使用高DPI模式 (boolean)
t.window.srgb = false -- 在屏幕上显示时允许使用sRGB伽马校正 (boolean)
t.modules.audio = true -- 加载 audio 模块 (boolean)
t.modules.event = true -- 加载 event 模块 (boolean)
t.modules.graphics = true -- 加载 graphics 模块 (boolean)
t.modules.image = true -- 加载 image 模块 (boolean)
t.modules.joystick = true -- 加载 the joystick 模块 (boolean)
t.modules.keyboard = true -- 加载 keyboard 模块 (boolean)
t.modules.math = true -- 加载 math 模块 (boolean)
t.modules.mouse = true -- 加载 mouse 模块 (boolean)
t.modules.physics = true -- 加载 physics 模块 (boolean)
t.modules.sound = true -- 加载 sound 模块 (boolean)
t.modules.system = true -- 加载 system 模块 (boolean)
t.modules.timer = true -- 加载 timer 模块 (boolean)
t.modules.window = true -- 加载 window 模块 (boolean)
t.modules.thread = true -- 加载 thread 模块 (boolean)
end