]> Dogcows Code - chaz/yoink/blob - data/yoinkrc
finally fixed broken main loop
[chaz/yoink] / data / yoinkrc
1
2 -- Example Yoink Configuration File
3 -- vim: ft=lua ts=4
4
5 print "loading default settings..."
6
7
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
11 -- slower machines.
12
13 detail = 3
14
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.
19
20 timestep = 80
21
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.
32
33 framerate = 50
34
35 -- Set this to print the current actual framerate to the console each
36 -- second.
37
38 showfps = true
39
40 -- Set this to run the game in full-screen mode. The default behavior is
41 -- to run the game in a window.
42
43 fullscreen = true
44
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.
47
48 resizable = true
49
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.
55
56 --videomode = {800, 600}
57
58 -- Set this to make the cursor remain visible as you mouse over the view of
59 -- the game.
60
61 showcursor = true
62
63 -- Set this to use double-buffering to improve animation quality. You
64 -- should usually leave this as true.
65
66 doublebuffer = true
67
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.
71
72 swapcontrol = true
73
This page took 0.032165 seconds and 4 git commands to generate.