A Collection of MonoGame Samples

Dominique Louis f6065972d9 RPG remove .idea files. 1 месяц назад
2DShaderSample 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 месяц назад
AdMob 177b9c2f2c Ensure all projects have a .config directory. 1 месяц назад
Aiming 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
Audio3D 55014c4dca Audio3D - Changes so iOS builds. 1 месяц назад
BackgroundThreadTester 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
BatteryStatus 154ccc36e5 Better Way of having platform specific Battery Info. 1 месяц назад
BloomSample 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
BouncingBox 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
CatapultNetWars 177b9c2f2c Ensure all projects have a .config directory. 1 месяц назад
CatapultWars 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
ChaseAndEvade 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
CollisionSample 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
Colored3DCube 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
CompiledContent 177b9c2f2c Ensure all projects have a .config directory. 1 месяц назад
Draw2D 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
FarseerPhysics 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
Flocking 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
GameComponents 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
GameDevelopmentbyExample 177b9c2f2c Ensure all projects have a .config directory. 1 месяц назад
GameStateManagement 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
GooCursor 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
Graphics3DSample 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
HoneycombRush 177b9c2f2c Ensure all projects have a .config directory. 1 месяц назад
Input 403cf8d82a Input - Refactor to test iOs build. 1 месяц назад
InputReporter 177b9c2f2c Ensure all projects have a .config directory. 1 месяц назад
LensFlare 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
MonoGame.Xna.Framework.Net 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 месяц назад
MultiTouch 177b9c2f2c Ensure all projects have a .config directory. 1 месяц назад
NetRumble 177b9c2f2c Ensure all projects have a .config directory. 1 месяц назад
NetworkPrediction 177b9c2f2c Ensure all projects have a .config directory. 1 месяц назад
NetworkStateManagement 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
Orientation 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
PacMan 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 месяц назад
Particle3DSample 177b9c2f2c Ensure all projects have a .config directory. 1 месяц назад
ParticleSample 177b9c2f2c Ensure all projects have a .config directory. 1 месяц назад
Peer2PeerSample 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
PerPixelCollisionSample 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
PerformanceMeasuring 177b9c2f2c Ensure all projects have a .config directory. 1 месяц назад
Primitives 177b9c2f2c Ensure all projects have a .config directory. 1 месяц назад
ReachGraphicsDemo 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
RectangleCollisionSample 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
RenderTarget2DSample 177b9c2f2c Ensure all projects have a .config directory. 1 месяц назад
RockRain 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
RolePlayingGame f6065972d9 RPG remove .idea files. 1 месяц назад
SamplesContentBuilder e119c561c9 Update README to table. Added splash.png 1 месяц назад
ShadowMapping 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
ShatterEffectSample 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
Sound 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
SpriteEffects 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
SpriteFont 8c10312e56 SpritFont - Refactor to build on iOS. 1 месяц назад
StarWarrior 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
StateObjectWindows 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 месяц назад
StencilsCratersTutorial 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
Storage 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
Tetris 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
TexturedQuad 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
TiledSprites 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 месяц назад
TouchGesture 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
TransformedCollisionSample 787aa50223 History Reset and Projects updated to SDK and MG 3.8.* 1 месяц назад
UseCustomVertex 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
VideoPlayer 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
VirtualGamePad 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 1 месяц назад
Waypoint 5a1fb288f4 Ensure all Core files have PreserveAsset set to all. 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 b086dba951 README: Update out Book details are shown. 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. Namely: AsteroidBeltAssault, FloodControl, GemstoneHunter, RobotRampage
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.