Click here to Skip to main content
Click here to Skip to main content
Go to top

A New Breed of Samples for MonoGame

, 15 Apr 2014
Rate this:
Please Sign up or sign in to vote.
A new breed of samples for MonoGame

ku-xlarge

One common question surrounding MonoGame has always been the quality of the samples currently maintained in the various branches of the project.

Being an opensource project, this has always been a challenge to manage and maintain. Sure, there are a lot of samples provided by many hard working developers, but they were very sporadic and not always kept up to date (some it was noted, don’t even run any more).

Seeing this, the core MonoGame team set out with a purpose to being a new samples repository for the project. Its goals were simple:

  • The samples had to be of high quality
  • They had to work on ALL platforms not just one
  • Best practice had to be used where possible
  • They had to be testable and re-usable to test the latest builds (builds may not pass if samples tests failed)

It has been an ambitious journey, with a lot of in depth discussions and debates, but now the first of the samples has just been accepted into the new Samples Repo.

https://github.com/Mono-Game/Samples

The first sample is just a taste of what is to come and is born of the already tried and tested Platformer 2D sample from the age old XNA library.

The sample itself isn’t too much to shout about as it only implements basic rendering, input and audio capabilities. However, it is laid out in such a format and is working on ALL supported platforms, including:

  • Android
  • Linux
  • MacOS
  • Ouya
  • PSM
  • Windows Phone
  • Windows 8
  • WindowsGL

The sample serves as a guide for how to build and manage your game project in a fully multi-platform way with all the code in one place and shared across all projects.

If the platform supports NuGet, then the platform is using the latest MonoGame 3.2 NuGet package. Where NuGet support isn’t available, it references back to the main dev repository (which you’ll need to manually link until the new samples repository is fully integrated with the main repo).

More to Come

The new samples repo isn't stopping there of course and we welcome anyone to submit new samples to the project so long as they meet the criteria mentioned earlier.

Come one, come all and get involved!

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Simon Jackson
Architect ZenithMoon Studios
United Kingdom United Kingdom
Long time game developer / IT maniac.
By day working as a lowly Technical Architect for a healthcare software firm, by night Masquerading as the Master Chief of ZenithMoon Studios.
 
At heart I'm a community developer breaking down lots of fun and curious technologies and bringing them to the masses.
 
I'm also a contributor to several open source projects, most notably the AdRotator advertising rotator project for Windows and Windows Phone.
 
After a hefty break with Windows Phone and Windows 8 I'm heading back to my XNA roots to show how beginners and current XNA devs can take their skills forward with XNA's bleak future.
Follow on   Twitter   Google+

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Mobile
Web03 | 2.8.140926.1 | Last Updated 15 Apr 2014
Article Copyright 2014 by Simon Jackson
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid