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. You can use the
--- videomode to override the default resolution. If the fullscreen option
--- is false, videomode will determine the size of the window.
+-- with three number elements representing the width, height, and
+-- (optionally) bits per pixel that make up the video mode.
-if fullscreen == false then
+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 the level of log detail that will be output to the console.
-- Possible values are:
--- 0 print nothing
--- 1 output errors only
--- 2 include warnings
--- 3 print everything, including debug messages
+-- 0 nothing
+-- 1 errors
+-- 2 warnings
+-- 3 info
+-- 4 debug messages
loglevel = 2