Setting Up MonoGame
So you're ready to get started with MonoGame, but have no idea what to do to start. Well the first step would be to get the neccessary software installed. All of the software needed to get started is completely free. We're going to need
- Visual Studio
That's it. So let's get started
The first thing we're going to need is Visual Studio. Visual Studio is an IDE, or Integrated Development Environment, from Microsoft. As of this writing, we'll be downloading Visual Studio 2017. This is the application we'll be using to create our game projects and write the code for our games.
Download Visual Studio
You can download Visual Studio on its download page at https://visualstudio.microsoft.com/downloads/. There are three editions to choose from but for the purpose of these tutorials, I will suggest the Community Edition, as it's free. If you would like to learn more about the different editions of Visual Studio, you can view a breakdown of the differences between each version on the Compare Visual Studio 2017 IDE page.
Install Visual Studio
Once the download finishes, run the installer to begin installing Visual Studio. It will ask you which components and workloads you want to install as part of the process. Look over this list to see what's there, and if there is anything you thing you may have interest in, you can choose it now. If you don't choose something now, you can always add it later by rerunning the installer which will allow you to modify your installation and choose additional workloads and components. For now, the only thing we need at minimum is the .NET Desktop Development workload. See the image below for reference on where this workload is on the list.
MonoGame is the game framework we'll use to create our games. MonoGame is the open source implementation of Microsoft's XNA framework. It's also completely free to use.
If you'd like to read more on the history of MonoGame, you can check out there about page.
MonoGame isn't a seperate application that is installed that you'll run, instead the installation will install project templetes for us to choose from in Visual Studio when we create a new game project. To download MonoGame, head over to the download page at http://www.monogame.net/downloads/ and chooose to download, as of the writing of this tutorial, MonoGame 3.7. This will take you to the MonoGame community forum post with the different installers. You'll want the MonoGame 3.7 for Visual Studio installer.
To install MonoGame, just run the intaller that was just downloaded. MonoGame isn't a seperate application that we'll be running, instead the installation will install project templetes for us to choose from in Visual Studio when we go to make a new game.
With Visual Studio and MonoGame installed, we're all ready to get started making games. In the next tutorial, we'll go over creating a new project Now that we have Visual Stuido and MonoGame installed, we can begin making games. We'll cover some of the core concepts for MonoGame in the next tutorial.