📄 default.rb
字号:
# Default Settings## This script creates a BUNCH of variables. It basically sets up the# default settings for all engine namespaces/variables. It also serves# as the documentation for all the settings.##### Application## This section contains information about the application being executed.#createVariable ('Application.title', 'Kerosin');##### System## This section contains information about the environment the engine is# executed in, such as font paths.#createVariable ('System.fontPath', 'C:/Windows/Fonts/');##### Viewport## The Viewport namespace is used to describe all the variables related# to the application window.#createVariable ('Viewport.xRes', 640); # widthcreateVariable ('Viewport.yRes', 480); # heightcreateVariable ('Viewport.fullScreen', false); # run in fullscreen?createVariable ('Viewport.doubleBuffer', true);# use double buffering?# Set up bits per pixelcreateVariable ('Viewport.redBits', 8); # red bitscreateVariable ('Viewport.greenBits', 8); # green bitscreateVariable ('Viewport.blueBits', 8); # blue bitscreateVariable ('Viewport.alphaBits', 8); # alpha bits# stencil and depth bufferscreateVariable ('Viewport.depthBits', 24); # depth bitscreateVariable ('Viewport.stencilBits', 8);# stencil bits# dpi for font renderingcreateVariable ('Viewport.dpiHRes', 120); # horizontal resolution (72, 96, 120, 300)createVariable ('Viewport.dpiVRes', 120); # vertical resolution (72, 96, 120, 300)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -