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:-
This month’s contribution to my One Game a Month 2022 challenge is MonoMine a quick copy of the windows classic.
This month I put a little more effort into this because this game actually has game states like win and lose and actually gives some instruction to the player at the end of the game.
With such amazing Special effects as text with drop shadowing and on the end screen if you placed a flag correctly on a mine it’ll be coloured green and if not it’ll be coloured a burnt orange.