]> Dogcows Code - chaz/yoink/blobdiff - data/yoinkrc
moved log level from configure to setting
[chaz/yoink] / data / yoinkrc
index 102848be7ada9c71c84c191eed8c0bd18bbd4841..36b6e58d5ea9e9e982fc33ced1e2a65b4edbd140 100644 (file)
@@ -1,16 +1,82 @@
-/* C-style comments are allowed. */
-{
-       "video.fullscreen": false,
-       "video.resizable": true,
-       "video.mode": [800, 600],
-       "video.colorbuffers": [8, 8, 8, 8],
-       "video.multisamplebuffers": 6,
-       "video.multisamplesamples": 6,
-       "video.cursor": true,
-       "input.grab": false,
-       "video.doublebuffer": true,
-       "video.swapcontrol": true,
-       "video.maxfps": 45,
-       "video.printfps": true,
-       "engine.timestep": 0.01
-}
+
+-- Example Yoink Configuration File
+-- vim: ft=lua ts=4
+
+print "loading default settings..."
+
+
+-- Set the level of detail to use when drawing scenes.  This can be 1, 2 or
+-- 3, where 1 shows the least amount of detail and 3 draws the scene with
+-- the most detail.  Lower levels of detail may improve performance on
+-- slower machines.
+
+detail                 = 3
+
+-- Set the number of times each second the physics state will be updated.
+-- The quality of the physics simulation will increase as you increase this
+-- value, but the processor will be taxed more.  Errors could be introduced
+-- in the game with extremely low values.
+
+timestep               = 80
+
+-- Set the target number of frames that should be drawn per second.  The
+-- smoothness of the animation increases as you increase this value.  You
+-- probably want to set this somewhere in the 25-85 range, depending on how
+-- much work you want your computer to do.  For example, if you're on
+-- battery power, you might prefer 25 which is still reasonably smooth and
+-- will decrease battery drain significantly.  You can also set this to a
+-- very high number to effectively draw as many frames as possible, but
+-- your actual framerate might be limited by the refresh rate of your
+-- display--use the swapcontrol setting to enable or disable this behavior.
+-- You can determine your actual framerate with the showfps option.
+
+framerate              = 50
+
+-- Set this to print the current actual framerate to the console each
+-- second.
+
+showfps                        = false
+
+-- Set this to run the game in full-screen mode.  The default behavior is
+-- to run the game in a window.
+
+fullscreen             = false
+
+-- If the game is running in a window, set this to also make the window
+-- resizable.  This has no effective if the fullscreen option is true.
+
+resizable              = true
+
+-- Set the screen resolution or size of the window.  The value is an array
+-- with three number elements representing the width, height, and bits per
+-- pixel that make up the video mode.  If the fullscreen option is set, the
+-- default behavior is to pick a native resolution.  Otherwise, the game
+-- window will default to 800x600.
+
+videomode              = {800, 600}
+
+-- Set this to make the cursor remain visible as you mouse over the view of
+-- the game.
+
+showcursor             = true
+
+-- Set this to use double-buffering to improve animation quality.  You
+-- should usually leave this as true.
+
+doublebuffer   = true
+
+-- Set this to sync with the refresh rate of your display.  Your framerate
+-- will be limited to the refresh rate, but you may experience fewer ugly
+-- "artifacts" caused by the game animation.
+
+swapcontrol            = true
+
+-- Set the level of log detail that will be printed to the console.
+-- Possible values are:
+-- 0 print nothing
+-- 1 errors only
+-- 2 include warnings
+-- 3 print everything, including debug messages
+
+loglevel = 2
+
This page took 0.019173 seconds and 4 git commands to generate.