]> Dogcows Code - chaz/yoink/blobdiff - data/yoinkrc
testing improved runloop scheduling
[chaz/yoink] / data / yoinkrc
index d7f97ccd00b798ed714351c20fc3cbd74082dc08..af051b38bd1f83ec366469ee71bdb898e0d107dc 100644 (file)
@@ -1,6 +1,5 @@
 
 -- Example Yoink Configuration File
--- vim: ft=lua ts=4
 
 print "loading default settings..."
 
@@ -35,12 +34,12 @@ framerate           = 50
 -- Set this to print the current actual framerate to the console each
 -- second.
 
-showfps                        = true
+showfps                        = false
 
 -- Set this to run the game in full-screen mode.  The default behavior is
 -- to run the game in a window.
 
-fullscreen             = true
+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.
@@ -48,26 +47,39 @@ fullscreen          = 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.
+-- with three number elements representing the width, height, and
+-- (optionally) bits per pixel that make up the video mode.
 
---videomode            = {800, 600}
-
--- Set this to make the cursor remain visible as you mouse over the view of
--- the game.
-
-showcursor             = true
+if fullscreen then
+       -- In fullscreen mode, a native resolution will be picked.  You could
+       -- still set videomode if you want to use a different resolution.
+else
+       videomode       = {800, 600}
+end
 
 -- Set this to use double-buffering to improve animation quality.  You
--- should usually leave this as true.
+-- really don't want to turn this off.
 
 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.
+-- will be limited to the refresh rate, but you may experience less
+-- tearing caused by the display vertical refresh.  On the other hand, you
+-- might experience worse tearing, depending on your setup.  Try it both
+-- ways.
 
 swapcontrol            = true
 
+-- Set the level of log detail that will be output to the console.
+-- Possible values are:
+--   0 nothing
+--   1 errors
+--   2 warnings
+--   3 info
+--   4 debug messages
+
+loglevel               = 2
+
+
+-- vi:ft=lua ts=4 sw=4 tw=75
+
This page took 0.02095 seconds and 4 git commands to generate.