default.rb

来自「linux 下的机器人足球仿真平台」· RB 代码 · 共 48 行

RB
48
字号
# 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 + =
减小字号Ctrl + -
显示快捷键?