#sample #example #tutorial #monogame #gamedev #framework #game-dev #engine #3d #2d

Simon (Darkside) Jackson bde0675f9b Merge pull request #100 from vchelaru/3.8.4 1 month ago
.github 21a3cc5ec0 only 3.8.* branches are built. 2 months ago
.vscode 1905fe016a Fix name on request 1 year ago
AutoPong a19b867d19 3.8.4 release prep 5 months ago
FuelCell a19b867d19 3.8.4 release prep 5 months ago
Images a19b867d19 3.8.4 release prep 5 months ago
NeonShooter becc9919d8 Fixed the DX vertex patching issues in the bloom and gaussian shaders. 5 months ago
Platformer2D a19b867d19 3.8.4 release prep 5 months ago
ShipGame 3dfabc3578 Update shipgame with markdown alerts 1 month ago
Tutorials 57cf4c5e77 Upgraded the last sample projects to Gum 2025.8.3.3 1 month ago
.gitattributes ec6f34125f Updated samples (where supported) to use the New MonoGame 3.2 NuGet packages 11 years ago
.gitignore 5f7f2e8ca1 Remove sample template (fairly redundant now) and update gitignore 3 years ago
LICENSE.TXT f3a0bd7baa Create LICENSE.TXT 5 years ago
README.md 7e62a90008 Update targets for new sample 7 months ago

README.md

MonoGame 3.8.4 Samples




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

|Platformer 2D Sample | NeonShooter| |-|-| |Supported on all platforms | Supported on all platforms | |Platformer 2D Sample | NeonShooter Sample | |The Platformer 2D sample is a basic 2D platformer pulled from the original XNA samples and upgraded for MonoGame.| Neon Shooter Is a graphically intensive twin-stick shooter with particle effects and save data from Michael Hoffman | |||

| Auto Pong Sample | Ship Game 3D | |-|-| | Supported on all platforms | GL / DX/ iOS / Android | | Auto Pong Sample | ShipGame 3D Sample | | A short sample project showing you how to make the classic game of pong, with generated soundfx, in 300 lines of code. | 3D Ship Game (Descent clone) sample, pulled from the XNA archives and updated for MonoGame | |||

New multi-platform sample template and getting started guide

A new template sample is also available which guides through the building of a MonoGame project from start to finish.

|FuelCell Sample | New 2D learn sample | |-|-| |Supported on all platforms | Desktop / Console Platforms | |Fuel Sample | MonoGame Sample | |A full featured 3D project with full documentation from start to finish for building a 3D style game. | The source for the complete guide to building 2D games with MonoGame tutorial. | |||

Building the samples

These samples can either be opened and built in Visual Studio for Mac or Windows, alternatively they can be built with the .NET Core tool chain (with the exception of the Windows UWP sample, which is Windows 10 only).

Note: If using CI nugets, be sure to unzip the nugets to an accessible directory. Then make sure that you add the directory to the list of nuget sources on your machine. Something like: dotnet nuget add source [unzipped-directory-location] -n MG-Nugets

For more details on building projects with the .NET Core tools, please see this guide on the MonoGame documentation site and for more details on nuget package sources.

Supported platforms

The MonoGame samples demonstrate all the public platforms available for use.

Platforms such as XBox, Playstation, Switch and Stadia are private platforms which you need developer accounts with their corresponding vendors to access.

  • Windows (Desktop GL, Windows DX, UWP)
  • Mac (Desktop GL)
  • Linux (Desktop GL)
  • Android (Android)
  • iOS (iOS)

Note: to build a project for iOS or Mac, you will need a MAC. They will build on Windows but cannot be published unless built on a Mac.

For more details on the platforms supported by MonoGame, please see the Platforms Guide on the MonoGame Documentation site