A Collection of MonoGame Samples

CartBlanche 9565aa41bc Network clarification, Tidy up and add FloodControl 1 ヶ月 前
2DShaderSample 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
AdMob 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
Aiming 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
Audio3D 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
BackgroundThreadTester 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
BatteryStatus 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
BloomSample 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
BouncingBox 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
CatapultNetWars 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
CatapultWars 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
ChaseAndEvade 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
CollisionSample 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
Colored3DCube 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
CompiledContent 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
Draw2D 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
FarseerPhysics 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
Flocking 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
GameComponents 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
GameDevelopmentbyExample 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
GameStateManagement 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
GooCursor 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
Graphics3DSample 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
HoneycombRush 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
Input 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
InputReporter 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
LensFlare 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
MonoGame.Xna.Framework.Net 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
MultiTouch 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
NetRumble 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
NetworkPrediction 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
NetworkStateManagement 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
Orientation 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
PacMan 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
Particle3DSample 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
ParticleSample 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
Peer2PeerSample 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
PerPixelCollisionSample 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
PerformanceMeasuring 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
Primitives 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
ReachGraphicsDemo 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
RectangleCollisionSample 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
RenderTarget2DSample 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
RockRain 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
RolePlayingGame 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
SamplesContentBuilder 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
ShadowMapping 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
ShatterEffectSample 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
Sound 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
SpriteEffects 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
SpriteFont 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
StarWarrior 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
StateObjectWindows 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
StencilsCratersTutorial 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
Storage 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
Tetris 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
TexturedQuad 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
TiledSprites 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
TouchGesture 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
TransformedCollisionSample 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
UseCustomVertex 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
VideoPlayer 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
VirtualGamePad 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
Waypoint 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
WpfInteropSample 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
.gitignore 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前
README.md 9565aa41bc Network clarification, Tidy up and add FloodControl 1 ヶ月 前
SamplesContentBuilder.sln 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 ヶ月 前

README.md

MonoGame Samples

This repository contains a collection of cross-platform MonoGame samples and game projects. Each sample demonstrates different game development concepts, features, or genres. For detailed information about each sample, see the linked README in each sub-directory.


2D Samples

Samples focused on 2D graphics, gameplay, and mechanics.

  • 2DShaderSample
    Custom 2D shader effects in MonoGame.
    More info
  • Aiming
    Aiming mechanics and input handling.
    More info
  • BouncingBox
    Simple physics sample with bouncing boxes.
    More info
  • CatapultWars
    Classic catapult game mechanics.
    More info
  • ChaseAndEvade
    AI sample showing chase and evade behaviors.
    More info
  • CollisionSample
    Collision detection techniques.
    More info
  • Draw2D
    Basic 2D drawing and sprite rendering.
    More info
  • FarseerPhysics
    Physics engine integration sample.
    More info
  • Flocking
    Flocking AI behaviors.
    More info
  • GameDevelopmentbyExample
    Multiple 2D samples from the "XNA Game Development by Example" book:
  • GameStateManagement
    Sample for managing game states and screens.
    More info
  • GooCursor
    Custom cursor rendering and effects.
    More info
  • HoneycombRush
    Arcade-style honeycomb collection game.
    More info
  • Input
    Input handling for keyboard, mouse, and gamepad.
    More info
  • InputReporter
    Displays live input values for controllers.
    More info
  • MultiTouch
    Multi-touch input support.
    More info
  • PacMan
    Cross-platform Pac-Man clone.
    More info
  • ParticleSample
    Particle systems and effects.
    More info
  • Primitives
    Drawing primitive shapes (lines, points).
    More info
  • RectangleCollisionSample
    Rectangle collision detection.
    More info
  • RenderTarget2DSample
    Render-to-texture techniques.
    More info
  • RockRain
    Arcade-style falling rocks game.
    More info
  • RolePlayingGame
    RPG sample with tile engine and menus.
    More info
  • StarWarrior
    Classic space shooter sample.
    More info
  • TouchGesture
    Touch gesture and mouse support.
    More info
  • Waypoint
    AI navigation and waypoint sample.
    More info

3D Samples

Samples focused on 3D graphics, rendering, and effects.

  • Audio3D
    3D audio positioning and effects.
    More info
  • BloomSample
    Bloom post-processing effects.
    More info
  • Colored3DCube
    Renders a colored 3D cube.
    More info
  • Graphics3DSample
    Advanced 3D graphics techniques.
    More info
  • LensFlare
    Lens flare post-processing effects.
    More info
  • ReachGraphicsDemo
    Demonstrates Reach profile graphics features.
    More info
  • ShadowMapping
    Demonstrates shadow mapping techniques in 3D.
    More info
  • ShatterEffectSample
    3D shatter effect demonstration.
    More info

Networking Samples

Samples demonstrating networking and multiplayer features using MonoGame.Xna.Framework.Net. These build, but require MonoGame.Xna.Framework.Net to be fleshed out more, to be fully working.

  • CatapultNetWars
    Networked multiplayer catapult game.
    More info
  • MonoGame.Xna.Framework.Net
    Networking API compatibility sample.
    More info
  • NetRumble
    Networked multiplayer space shooter.
    More info
  • NetworkPrediction
    Networked gameplay prediction and synchronization.
    More info
  • Peer2PeerSample
    Peer-to-peer multiplayer tank game.
    More info

Miscellaneous Samples

Samples demonstrating platform features, content management, and other concepts.

  • AdMob
    Integrate AdMob ads into a MonoGame project.
    More info
  • BackgroundThreadTester
    Using background threads in game logic.
    More info
  • BatteryStatus
    Battery status and power management.
    More info
  • CompiledContent
    Pre-built content files for other samples.
    More info
  • GameComponents
    Using and managing game components.
    More info
  • SamplesContentBuilder
    Build and load content assets using MonoGame's content pipeline.
    More info
  • Sound
    Cross-platform sound playback.
    More info

For platform-specific details, build instructions, and troubleshooting, see each sample's README.