To get started with making games it’s often a good idea to be able to write out debug messages while you’re working on your game even if that’s just the current FPS. MonoGame doesn’t allow you to use the system fonts on the computer the game is running on you need to provide your own. To achieve this you need to add a font to your game to be used for writing strings to the screen.
When you’re just starting out with MonoGame programming on Linux it can be quite daunting especially if you’ve only ever used Visual Studio to create your projects, in this post I will give you a script that will get your project started so you can stop worrying about setting up your project and just get on with it.
It all starts with a new script To get started we need to create a new bash script in your bin folder:-
Getting set up with Mono Game is as easy as running a script thanks to Kwyrky
To make it as easy as possible to install MonoGame on Linux and to have content building work right from the start.
This will work on any Debian based Linux Distribution so Ubuntu and Mint are definitely going to work fine.
We need to start by making sure that we have git installed so open a terminal and type the following command:-