2 -- Example Yoink Configuration File
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. Otherwise, the game
54 -- window will default to 800x600.
56 --videomode = {800, 600}
58 -- Set this to make the cursor remain visible as you mouse over the view of
63 -- Set this to use double-buffering to improve animation quality. You
64 -- should usually leave this as true.
68 -- Set this to sync with the refresh rate of your display. Your framerate
69 -- will be limited to the refresh rate, but you may experience fewer ugly
70 -- "artifacts" caused by the game animation.