2 -- Example Yoink Configuration File
4 print "loading default settings..."
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
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.
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.
34 -- Set this to print the current actual framerate to the console each
39 -- Set this to run the game in full-screen mode. The default behavior is
40 -- to run the game in a window.
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.
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
51 -- (optionally) bits per pixel that make up the video mode.
54 -- In fullscreen mode, a native resolution will be picked. You could
55 -- still set videomode if you want to use a different resolution.
57 videomode = {800, 600}
60 -- Set this to use double-buffering to improve animation quality. You
61 -- really don't want to turn this off.
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
73 -- Set the level of log detail that will be output to the console.
74 -- Possible values are:
84 -- vi:ft=lua ts=4 sw=4 tw=75