A Collection of MonoGame Samples

CartBlanche 4e49c82afb RPG - Tweaks to get the starting, at least. More work required. 1 月之前
2DShaderSample 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 月之前
AdMob 1cbe6afa5f Icon and build tweaks. 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 4e49c82afb RPG - Tweaks to get the starting, at least. More work required. 1 月之前
SamplesContentBuilder e119c561c9 Update README to table. Added splash.png 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 ee0f517260 Make Project link to README. 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

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

3D Samples

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

Networking Samples

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

Miscellaneous Samples

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

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