-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.lua
52 lines (43 loc) · 2.04 KB
/
config.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
--
-- Gloabal configuration file for Stage Fighter
-- (Values might not be typechecked and range checked by the runtime, so only change stuff if you know
-- what you do!)
-- Set window properties, some of these proeprties are irgnored when invalid
window = {
width=3840, -- Width of Window in px
height=2160, -- Height of Window in px
vsync=false, -- true to enable vsync false to disable
-- Set Fullscreen Mode:
-- -2 Windowed Fullscreen (Experimental)
-- -1 Normal Window mode
-- 0 >= Fullscreen mode, invalid width & height may be ignored or app might crash
-- Opens Fullscreen on Monitor with this index
fullscreen=0,
-- Set Refreshrate in Hz (does only work in Fullscreen mode, invalid modes are ignored)
-- -1 Default Monitor refresh rate
-- Typical values are: 30,60,75, or sometimes even 23,24,26,27,29
refreshRate=-1,
-- Set Gamma value of Monitor (Only works in Fullscreen Mode)
-- It uses the glfwSetGamma function which does rely on WinAPI or X11 functions to set Gamma
-- Must be a float value > 0.0, otherwise values might be ignored or App might crash
gamma=1.0,
-- True The shader will correct the Gamma value
-- False Use the glfwSetGamma function, which will only work in fullscreen mode
useShaderGamma=true
}
-- Set Camera properties:
camera = {
fov=45
}
game_menu = {
background_music = "Miguel Johnson - Legend.ogg"
}
-- Set Debug properties, should be disabled if not debugging one of these subsystems:
-- true to enable debugging or false to disable debuggiing
debug = {
bullet=false, -- Create a Bullet Debug Context and draw all the Bounding Boxes as Lines to the screen
opengl=true, -- Debug OpenGL Context and enable error outputs for OpenGL
-- Debug options for skipping the Main Menu
loadIntoLevel=true, -- True if main screen should be skipped
levelFile="tutorial.lua" -- File name of the level which should be loaded
}