-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconf.lua
More file actions
48 lines (45 loc) · 2.53 KB
/
conf.lua
File metadata and controls
48 lines (45 loc) · 2.53 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
44
45
46
47
48
-- LOVE2D Configuration File
-- This file is loaded before main.lua
function love.conf(t)
-- Identity and version
t.identity = "space-shooter" -- Save directory name
t.version = "11.4" -- LOVE version compatibility
t.console = false -- Enable console on Windows (debug)
-- Window settings
t.window.title = "Space Shooter" -- Window title
t.window.icon = nil -- Path to icon image
t.window.width = 800 -- Window width
t.window.height = 600 -- Window height
t.window.borderless = false -- Remove window border
t.window.resizable = false -- Allow window resizing
t.window.minwidth = 800 -- Minimum window width
t.window.minheight = 600 -- Minimum window height
t.window.fullscreen = false -- Start in fullscreen
t.window.fullscreentype = "desktop" -- Fullscreen type
t.window.vsync = 1 -- Vertical sync mode
t.window.msaa = 0 -- Multi-sample anti-aliasing
t.window.depth = nil -- Depth buffer bits
t.window.stencil = nil -- Stencil buffer bits
t.window.display = 1 -- Monitor to display on
t.window.highdpi = true -- High-DPI mode (Retina)
t.window.usedpiscale = true -- Use DPI scale
-- Modules to enable
t.modules.audio = true -- Audio module
t.modules.data = true -- Data encoding module
t.modules.event = true -- Event module
t.modules.font = true -- Font module
t.modules.graphics = true -- Graphics module
t.modules.image = true -- Image module
t.modules.joystick = true -- Joystick module
t.modules.keyboard = true -- Keyboard module
t.modules.math = true -- Math module
t.modules.mouse = true -- Mouse module
t.modules.physics = false -- Physics module (Box2D)
t.modules.sound = true -- Sound module
t.modules.system = true -- System module
t.modules.thread = true -- Thread module
t.modules.timer = true -- Timer module
t.modules.touch = true -- Touch module
t.modules.video = false -- Video module
t.modules.window = true -- Window module
end