Download

Prerequisites

1 – Visual Studio 2022 or Newer

https://visualstudio.microsoft.com/vs/community/

Although it is possible to make games without Visual Studio, doing so without Visual Studio requires advanced knowledge of MSBuild. We recommend downloading and installing Visual Studio.

Note – if you plan on using a different IDE such as Rider, then you will need to install the .NET 6 SDK.

At a minimum you will need to install .NET desktop development.

2. XNA 4.0 Redistributable

https://www.microsoft.com/en-us/download/details.aspx?id=27598

Although this is not required to build and run FlatRedBall games, it is required to use Gum, which is the preferred FlatRedBall UI tool.

3. .NET 6 SDK

https://dotnet.microsoft.com/en-us/download/dotnet/6.0

Visual Studio 2022 (as of version 17.5.1) installs .NET SDK 7.0 which has a bug preventing projects from being loaded in the FlatRedBall Editor. Therefore, you will need to manually install .NET 6 SDK.

Downloading FlatRedBall

The most common approach to making FlatRedBall games is to use the FlatRedBall Editor. The Editor can be downloaded from a pre-built .zip file, or it can be built from source. New users should expand Downloading Pre-Built FlatRedBall.

[+]Downloading Pre-Built FlatRedBall

Downloading and Running FlatRedBall

  1. Download the latest zip file from https://files.flatredball.com/content/FrbXnaTemplates/DailyBuild/FRBDK.zip
  2. Unzip the file after downloading
  3. Go to the folder where the .zip file unzipped to (by default called FRBDK)
  4. Open the Run FlatRedBall.bat file (double click it)

If you see the Windows protected your PC dialog, click More info -> Run Anyway

The FlatRedBall Editor should appear.

[+]Building and Running FlatRedBall From Source

Download Source

1  – FlatRedBall NetStandard branch

https://github.com/vchelaru/FlatRedBall/tree/NetStandard

  • 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)

https://github.com/vchelaru/Gum

  • Just as above, download the Gum zip or clone the source to your machine.

Building Gum

You can either use Gum file associations to point to a prebuilt Gum.exe, or you can build Gum locally to use the most up-to-date code.

To build Gum:

  1. Open the Gum project located at <Gum Root Directory>/Gum.sln
  2. Verify that your configuration is Debug and x86

  3. Set Gum as the Startup project

  4. Build -> Rebuild Solution
  5. Launch Gum to makes sure it runs

Building FlatRedBall (Glue)

To build the FlatRedBall Editor (also referred to as Glue):

  1. 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.

  2. 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.

  3. Set GlueFormsCore as the StartUp Project

    1. For Rider users, you will need to set GlueFormsCore as the project to run in the Configuration dialog.

  4. Launch Glue from Visual Studio

  5. Glue should now be running

Troubleshooting

Gum Project References Broken

The Glue project references Gum projects, so the two project folders must be in the same root folder. To verify:

  1. Open Glue with All.sln
  2. Open the Solution Explorer
  3. 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.

Additional Troublshooting

Having problems opening or running FlatRedBall projects? Check out the Troubleshooting Page.

Advanced Options

Here’s some more options on getting or updating FlatRedBall:

 

Gum Download