]> Dogcows Code - chaz/yoink/blob - data/yoinkrc
repository cleanup
[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 = 80
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-85 range, depending on how
24 -- 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 a
27 -- very high number to effectively draw as many frames as possible, but
28 -- 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 = 50
33
34 -- Set this to print the current actual framerate to the console each
35 -- second.
36
37 showfps = false
38
39 -- Set this to run the game in full-screen mode. The default behavior is
40 -- to run the game in a window.
41
42 fullscreen = false
43
44 -- If the game is running in a window, set this to also make the window
45 -- resizable. This has no effective if the fullscreen option is true.
46
47 resizable = true
48
49 -- Set the screen resolution or size of the window. The value is an array
50 -- with three number elements representing the width, height, and bits per
51 -- pixel that make up the video mode. If the fullscreen option is set, the
52 -- default behavior is to pick a native resolution. You can use the
53 -- videomode to override the default resolution. If the fullscreen option
54 -- is false, videomode will determine the size of the window.
55
56 if fullscreen == false then
57 videomode = {800, 600}
58 end
59
60 -- Set this to use double-buffering to improve animation quality. You
61 -- really don't want to turn this off.
62
63 doublebuffer = true
64
65 -- Set this to sync with the refresh rate of your display. Your framerate
66 -- will be limited to the refresh rate, but you may experience less
67 -- tearing caused by the display vertical refresh. On the other hand, you
68 -- might experience worse tearing, depending on your setup. Try it both
69 -- ways.
70
71 swapcontrol = true
72
73 -- Set the level of log detail that will be output to the console.
74 -- Possible values are:
75 -- 0 print nothing
76 -- 1 output errors only
77 -- 2 include warnings
78 -- 3 print everything, including debug messages
79
80 loglevel = 2
81
82
83 -- vi:ft=lua ts=4 sw=4 tw=75
84
This page took 0.031031 seconds and 4 git commands to generate.