First Project

Getting Started

Getting started is pretty straight forward - regardless of the platform or tool chain that you've decided on. The most difficult decision will be deciding on a project structure.

Supporting a single platform is simple, you would create a single platform specific project.

Simple Start

The below will create an empty desktop project supporting OpenGL.

{{< tabs "installdeps" >}} {{< tab "VS Code / CLI" >}}

dotnet new mgdekstopgl -o AwesomeGame
cd AwesomeGame
code .

{{< /tab >}} {{< tab "Rider" >}} Rider New Project {{< /tab >}} {{< tab "Visual Studio" >}} Visual Studio New Project {{< /tab >}} {{< /tabs >}}

Available Templates

Cli NameTemplate
mgdesktopglCross Platform Desktop Application
mgdesktopdxWindows Desktop Application
mgsharedMonoGame Shared Library
mglibMonoGame Game Library
mgandroidMonoGame Android Application
mgpipelineContent Pipeline Extension