1 – Visual Studio 2019 or Newer
2 – .NET Framework 4.7.1 Developer Pack
.NET 4.7.1 is required to build FlatRedBall DesktopGL games, which is the default (and recommended) platform.
The most common approach to making FlatRedBall games is to use Glue. Glue can be downloaded from a pre-built .zip file, or it can be built from source.
[+]Downloading Pre-Built Glue
Downloading and Running Glue
- Download the latest zip file from https://files.flatredball.com/content/FrbXnaTemplates/DailyBuild/FRBDK.zip
- Unzip the file after downloading
- Go to the folder where the .zip file unzipped to (by default called FRBDK)
- Open Xna 4 Tools folder
- Run GlueFormsCore.exe
[+]Building and Running Glue From Source
1 – Install .Net Core 3.0.1 x86
You must have this exact version installed to build FlatRedBall, even if you have a newer version. You must install the x86 version even if you have the 64 bit version.
2 – FlatRedBall NetStandard branch
- If you simply want to get the latest source, you can download the .zip file from Github. Be sure to use the NetStandard branch
- If you would rather always be connected to source, you can clone the source to your machine using command line or any Git client
3 – Gum (master branch)
- Just as above, download the Gum zip or clone the source to your machine.
To build Glue:
- Open Glue at <Git Root Directory>/FlatRedBall/FRBDK/Glue/Glue with All.sln. Note that this includes all plugins as well, so building this will give you a fully-featured Glue.
- To rebuild Glue with all plugins, select Build -> Build Solution in Visual Studio. Simply building the Glue project or running Glue will not build all plugins.
- Set GlueFormsCore as the StartUp Project
- Launch Glue from Visual Studio
- Glue should now be running
At the time of this writing, the NewProjectCreator is a separate project from Glue with All.sln (this may change in the future).
You must build the NewProjectCreator if you want to create new projects using Glue. To do this:
- Open <Location where you downloaded FlatRedBall/FRBDK/NewProjectCreator/NewProjectCreator.sln
- Make sure NewProjectCreator is set as the startup project
- Build and run the app
- The New Project Creator tool should be running
Gum Project References Broken
The Glue project references Gum projects, so the two project folders must be in the same root folder. To verify:
- Open Glue with All.sln
- Open the Solution Explorer
- Expand the GumProjects folder
If the references are correct, your window should look similar to the following image:
If your references are broken, then you may see something similar to the following image:
Notice that the projects are marked as unloaded.
To solve this make sure that both of the projects (FlatRedBall and Gum) are in the same root folder. If you unzipped the files, then they may need to be moved up one folder.
Having problems opening or running FlatRedBall projects? Check out the Troubleshooting Page.
Here’s some more options on getting or updating FlatRedBall:
Problems opening Glue projects? Try running a manual XNA installation: