]> Dogcows Code - chaz/yoink/blob - data/yoinkrc
update video methods
[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 3,
8 -- where 1 shows the least amount of detail and 3 draws the scene with the
9 -- most detail. Lower levels of detail may improve performance on slower
10 -- machines.
11
12 detail = 3
13
14 -- Set the number of times each second the physics state will be updated. The
15 -- quality of the physics simulation will increase as you increase this value,
16 -- but the processor will be taxed more. Errors could be introduced in the
17 -- 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 how
24 -- much work you want your computer to do. For example, if you're on battery
25 -- power, you might prefer 25 which is still reasonably smooth and will
26 -- decrease battery drain significantly. You can also set this to an
27 -- arbitrarily high number to effectively draw as many frames as possible, but
28 -- your actual framerate might be limited by the refresh rate of your display;
29 -- use the swapcontrol setting to enable or disable this behavior. You can
30 -- determine your actual framerate with the showfps option.
31
32 framerate = 60
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 to
39 -- 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 the
49 -- default value (a function), the video mode will only be set if we're not in
50 -- 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 really
57 -- 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 tearing
63 -- caused by the display vertical refresh. On the other hand, you might
64 -- experience worse tearing, depending on your setup. Try it both ways.
65
66 swapcontrol = false
67
68 -- Set this to the number of FSAA samples to perform. This will smooth out
69 -- jagged lines but may reduce framerates on slow hardware. Possible values
70 -- depend on your video card and drivers, but typical values include 1, 2, 4,
71 -- and higher powers of two. Set to 0 to disable FSAA.
72
73 multisamples = 0
74
75 -- Set the level of log detail that will be output to the console. Possible
76 -- values are:
77 -- 0 nothing
78 -- 1 errors
79 -- 2 warnings
80 -- 3 info
81 -- 4 debug messages
82
83 loglevel = 2
84
85
86 -- vi:ft=lua
87
This page took 0.034497 seconds and 4 git commands to generate.