]> Dogcows Code - chaz/yoink/blob - data/yoinkrc
1d58bef8df8a83cab188e51435777995635428cc
[chaz/yoink] / data / yoinkrc
1
2 -- Example Yoink Configuration File
3
4 print "loading default settings..."
5
6
7 -- Set the level of detail to use when drawing scenes. This can be 1, 2 or
8 -- 3, where 1 shows the least amount of detail and 3 draws the scene with
9 -- the most detail. Lower levels of detail may improve performance on
10 -- slower machines.
11
12 detail = 3
13
14 -- Set the number of times each second the physics state will be updated.
15 -- The quality of the physics simulation will increase as you increase this
16 -- value, but the processor will be taxed more. Errors could be introduced
17 -- in the game with extremely low values.
18
19 timestep = 100
20
21 -- Set the target number of frames that should be drawn per second. The
22 -- smoothness of the animation increases as you increase this value. You
23 -- probably want to set this somewhere in the 25-200 range, depending on
24 -- how much work you want your computer to do. For example, if you're on
25 -- battery power, you might prefer 25 which is still reasonably smooth and
26 -- will decrease battery drain significantly. You can also set this to an
27 -- arbitrarily high number to effectively draw as many frames as possible,
28 -- but your actual framerate might be limited by the refresh rate of your
29 -- display; use the swapcontrol setting to enable or disable this behavior.
30 -- You can determine your actual framerate with the showfps option.
31
32 framerate = timestep
33
34 -- Set this to show the current frames per second in the window caption.
35
36 showfps = false
37
38 -- Set this to run the game in full-screen mode. The default behavior is
39 -- to run the game in a window.
40
41 fullscreen = false
42
43 -- If the game is running in a window, set this to also make the window
44 -- resizable. This has no effective if the fullscreen option is set.
45
46 resizable = true
47
48 -- Set the display resolution or size of the viewing window. If left at
49 -- the default value (a function), the video mode will only be set if we're
50 -- not in fullscreen. That way, a native resolution will be used.
51
52 videomode = function()
53 if not fullscreen then return {800, 600} end
54 end
55
56 -- Set this to use double-buffering to improve animation quality. You
57 -- really don't want to turn this off.
58
59 doublebuffer = true
60
61 -- Set this to sync with the refresh rate of your display. Your framerate
62 -- will be limited to the refresh rate, but you may experience less
63 -- tearing caused by the display vertical refresh. On the other hand, you
64 -- might experience worse tearing, depending on your setup. Try it both
65 -- ways.
66
67 swapcontrol = true
68
69 -- Set the level of log detail that will be output to the console.
70 -- Possible values are:
71 -- 0 nothing
72 -- 1 errors
73 -- 2 warnings
74 -- 3 info
75 -- 4 debug messages
76
77 loglevel = 2
78
79
80 -- vi:ft=lua ts=4 sw=4 tw=75
81
This page took 0.036781 seconds and 3 git commands to generate.