2 -- Example Yoink Configuration File
3 -- ex:ft=lua ts=4 sw=4 tw=75
5 print "loading default settings..."
8 -- Set the level of detail to use when drawing scenes. This can be 1, 2 or
9 -- 3, where 1 shows the least amount of detail and 3 draws the scene with
10 -- the most detail. Lower levels of detail may improve performance on
15 -- Set the number of times each second the physics state will be updated.
16 -- The quality of the physics simulation will increase as you increase this
17 -- value, but the processor will be taxed more. Errors could be introduced
18 -- in the game with extremely low values.
22 -- Set the target number of frames that should be drawn per second. The
23 -- smoothness of the animation increases as you increase this value. You
24 -- probably want to set this somewhere in the 25-85 range, depending on how
25 -- much work you want your computer to do. For example, if you're on
26 -- battery power, you might prefer 25 which is still reasonably smooth and
27 -- will decrease battery drain significantly. You can also set this to a
28 -- very high number to effectively draw as many frames as possible, but
29 -- your actual framerate might be limited by the refresh rate of your
30 -- display--use the swapcontrol setting to enable or disable this behavior.
31 -- You can determine your actual framerate with the showfps option.
35 -- Set this to print the current actual framerate to the console each
40 -- Set this to run the game in full-screen mode. The default behavior is
41 -- to run the game in a window.
45 -- If the game is running in a window, set this to also make the window
46 -- resizable. This has no effective if the fullscreen option is true.
50 -- Set the screen resolution or size of the window. The value is an array
51 -- with three number elements representing the width, height, and bits per
52 -- pixel that make up the video mode. If the fullscreen option is set, the
53 -- default behavior is to pick a native resolution. You can use the
54 -- videomode to override the default resolution. If the fullscreen option
55 -- is false, videomode will determine the size of the window.
57 --videomode = {800, 600}
59 -- Set this to make the cursor remain visible as you mouse over the video
60 -- output of the game.
64 -- Set this to use double-buffering to improve animation quality. You
65 -- really don't want to turn this off.
69 -- Set this to sync with the refresh rate of your display. Your framerate
70 -- will be limited to the refresh rate, but you may experience less
71 -- tearing caused by the display vertical refresh. On the other hand, you
72 -- might experience worse tearing, depending on your setup. Try it both
77 -- Set the level of log detail that will be printed to the console.
78 -- Possible values are:
82 -- 3 print everything, including debug messages