The File Associations window allows you to customize the file associations for file types commonly used in FlatRedBall. All values initially start as <DEFAULT> meaning that those files will be opened with whatever the default for a given file is in Windows. Setting a specific file association in FRB results in the FRB Editor using the specified application to open a file rather than the default Windows default. Changing this value will not change behavior when double-clicking the file outside of FRB.
The Camera Settings (also known as Display Settings) in Glue allows you to set your Camera and resolution project-wide. To access the settings click the camera icon.
Clicking the Settings-> Camera Settings menu item brings up the same menu as well.
For more information, see the Display Settings page.
File Build Tools are runnable files (.exe or .bat) which take command line arguments and are used to convert files from one format into another format. Usually the conversion is made from a file format that is native to a particular 3rd party application (such as a .psd in Photoshop) to either a standard file format or a format understood by the FlatRedBall Game Engine (such as a .png or a .scnx).
To add a new File Build Tool:
Click the Settings->File Build Tools menu item
Click "Add new build tool"
Add the source and destination extensions of whatever your file build tool supports. For example, the source might be "psd" and the destination might be "png".
Click the BuildTool text field, then click the browse button
Select your build tool in the file window
Click OK
File build tools are command-line applications which can convert a file from one format to another. File build tools require at least one parameter - the source file (the file to be converted). To help understand how file build tools are used by Glue, consider a simple with the following values:
BuildTool = "BuildTool.exe"
IsBuildToolAbsolute = false
SourceFileType = "source"
DestinationFileType = "dest"
IncludeDestination = true
SourceFileArgumentPrefix = ""
DestinationFileArgumentPrefix = ""
ExternalArguments = ""
The values above specify that the build tool accepts a file with a "dest" extension, and it produces a file with a "source" extension. For this example, also consider a Glue file with the absolute path of "c:/folder/file.source". Building this file with the above variables would produce the following command:
The Performance Settings window controls performance-related code generation behavior. By default performance settings values are disabled (set to false). To access the Performance Settings window, select the Settings -> Performance Settings.
For information on RecordInitializeSegments, see the FlatRedBall Profiler page.