MonoGame – Install and first test on Fedora 33 distro Linux.

Today I started a new series of tutorials for those who follow this website related to C# programming and the .NET library called MonoGame.
The official website comes with many tutorials and information and documentation.
MonoGame is a simple and powerful .NET library for creating games for desktop PCs, video game consoles, and mobile devices.
Based on Microsoft’s XNA Framework, it provides the following features:

  • Game framework
  • 2D and 3D rendering
  • Sound effect and music playback
  • Keyboard, mouse, touch, and controller inputs
  • Content building and optimization
  • Math library optimized for games

Let’s start with the install this .NET library and some Fedora packages:

MonoGame Content Builder (MGCB) Editor is the front-end GUI editor for MonoGame content builder projects.
You can run it with this command:

Let’s create a simple project named MyGame001:

You can see the Target Platforms with this command:

The project comes with these files:

The Programm.cs is the main project file and has this source code:

The last step for testing this source code is the running process:

I tested and runs well.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.