MonoGame logo

MonoGame

Open-source .NET framework for building cross-platform games in C#

Repository activity
  • Stars14k
  • Forks3.1k
  • Open Issues728
monogame health score - Linux Foundation Insights
License

Other

Languages
  • C#
  • C
  • C++
MonoGame screenshot

About MonoGame

MonoGame is a .NET framework for creating games for desktop PCs, video game consoles, and mobile devices in C#. It is an open-source re-implementation of the discontinued Microsoft XNA Framework, and it is a code-based framework rather than an engine with a scene editor. Games such as Celeste, Stardew Valley, and Streets of Rage 4 were built on it.

MonoGame targets Windows, Linux, macOS, Android, and iOS/iPadOS, plus PlayStation 4 and 5, Xbox, and Nintendo Switch 1 and 2 for registered developers. Rendering runs on OpenGL and DirectX, with experimental Vulkan and DirectX 12 paths in preview. A content pipeline handles asset processing through the mgcb content builder, the mgfxc effect compiler, and the mgcb-editor GUI for managing content.

MonoGame is distributed as NuGet packages, with full source on GitHub. It is licensed under the Microsoft Public License, with a few portions under separate third-party licenses.

Key features

  • C# code-based framework for 2D and 3D games
  • Cross-platform export to desktop, mobile, and consoles
  • OpenGL and DirectX rendering
  • Content pipeline with mgcb builder and mgfxc effect compiler
  • mgcb-editor GUI for content processing

Details

First released
2011
Platforms
Windows · macOS · Linux · Android · iOS
Consoles
PS4 · PS5 · Xbox · Switch 1 · Switch 2
Rendering
OpenGL · DirectX
License
Microsoft Public License
Language
C#