Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here


A few cross-platform game samples using MonoGame.

Subscribe to updates I use MonoGame.Samples

Statistics on MonoGame.Samples

Number of watchers on Github 133
Number of open issues 13
Average time to close an issue 3 months
Main language Logos
Average time to merge a PR 1 day
Open pull requests 1+
Closed pull requests 4+
Last commit almost 5 years ago
Repo Created over 6 years ago
Repo Last Updated almost 2 years ago
Size 46.7 MB
Organization / Authormonogame
Page Updated
Do you use MonoGame.Samples? Leave a review!
View open issues (13)
View MonoGame.Samples activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating MonoGame.Samples for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)


A number of simple MonoGame samples for all the supported platforms:

  1. Platformer 2D (Supported on all platforms)

  2. SpaceWar (experimental - Windows only)

  3. NeonShooter (Currently being updated for all platforms - should work)

Building the samples

A number of the samples use the pre-release NuGet packages in order to match the latest dev releases on the main MonoGame branch.

if you wish you can remove the NuGet packages and reference the MonoGame source directly

When you are building the samples for the first time you will need to enable NuGet Package Restore which will download the latest NuGet release automatically.

To activate NuGet package restore just right click the solution and select Enable NuGet package restore or right-click the project and select Manage NuGet Packages.

Next time you build the project it should build successfully.

Known issues

Here is a list of the current issues in the develop branch of the samples

  • SpaceWar uses an XACT (Xbox Audio) definition which the new content doesn't support. This will be updated to use the source audio files and remove the XACT references from the project.

  • SpaceWar uses some advanced shaders which need updating to a later version of DX and removal of some of the native shader code

  • NeonShooter has been test across platforms but is running slow, this needs to be updated to be more performant in MonoGame

  • Neon Shooter needs the rest of the platforms added to it's project. No known issues, just time to do it.

MonoGame.Samples open issues Ask a question     (View All Issues)
  • over 4 years Platformer2D - MSBuildExtensionsPath not set?!
  • over 4 years Loading Song on MS Windows
  • almost 5 years Microsoft.Xna.Framework.Graphics Missing
  • almost 5 years Mac Platformer2D GLError: InvalidFramebufferOperationExt
  • almost 5 years Mac Sample build configuration issues
  • about 5 years Improve documentation for building samples on major desktop platforms
  • over 5 years Samples Installer?
  • over 5 years Add Samples To Automated Build
  • over 5 years iOS > accelerometer.cs not implemented; default MG implementation laggy
  • over 5 years IOS sample multiple issues
  • almost 6 years Improve
  • almost 6 years Add 3D Sample
MonoGame.Samples open pull requests (View All Pulls)
  • Removed unnecessary field
MonoGame.Samples list of languages used
More projects by MonoGame View all
Other projects in Logos