Notice: Currently Glue must be compiled from source. These steps have been updated to show how to download and build Glue.
1 – Visual Studio 2019 or Newer
2 – MonoGame for Visual Studio
3 – .NET Core 3.0.1 for x86
You must have 3.0.1 installed even if you have a newer version installed.
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 http://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 – 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
2 – 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: