]> Dogcows Code - chaz/yoink/blob - data/yoinkrc
fixed layer bugs; generalized octree
[chaz/yoink] / data / yoinkrc
1
2 -- Example Yoink Configuration File
3 -- vim: ft=lua
4
5 print "loading yoinkrc..."
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.
11
12 detail = 3
13
14 -- Set the amount of time in seconds between each update of the physics
15 -- state. A value of 100 or higher is ideal for accurate physics
16 -- approximations. Values that are much lower cause the CPU to do less
17 -- work, but accuracy will suffer. Errors could be introduced in the game
18 -- with extremely low values.
19
20 timestep = 80
21
22 -- Set the maximum number of frames that can be drawn per second. A value
23 -- of 50 is pretty good. If your computer is really old, you can get away
24 -- with decreasing this value and still have reasonably smooth animation.
25 -- You can set this to a very high number to effectively render as many
26 -- frames as is possible, but the actual rate could be limited by vertical
27 -- display synchronization, depending on the X11 driver and settings used.
28 -- You should not set this option higher than the point where the vertical
29 -- synchronization effectively limits the draw rate or else the game may
30 -- not be able to update the physics on schedule which could actually
31 -- significantly lower the quality of the animation.
32
33 maxfps = 40
34
35 -- Set whether or not to print the current actual framerate to the console.
36
37 printfps = false
38
39 -- Set whether or not the game will run in full-screen mode. If false, the
40 -- game will run in a window.
41
42 fullscreen = false
43
44 -- If the game is running in a window, set whether or not the window will
45 -- be resizable.
46
47 resizable = true
48
49 -- Set the resolution or size of the window. The value is an array with
50 -- three number elements representing the width, height, and bits per pixel
51 -- that make up the video mode. A typical value is 800,600 for a size of
52 -- 800x600 pixels with millions of colors (the third number is optional).
53
54 videomode = {1024, 786}
55
56 -- Set whether or not the cursor will be visible when you mouse over the
57 -- display of the game.
58
59 showcursor = true
60
61 -- Set whether or not the drawing should use two buffers. This results in
62 -- a higher quality animation. You should usually leave this as true.
63
64 doublebuffer = true
65
66 -- Set whether or not to sync with the display in order to reduce
67 -- distortion.
68
69 swapcontrol = true
70
This page took 0.034255 seconds and 5 git commands to generate.