Skip to content
This repository was archived by the owner on Jan 13, 2026. It is now read-only.

VisualStudioEX3/2DCollisionSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

2D Collision Sample

A simple 2D collision system for XNA/MonoGame.

xna_monogame_2d_collision_sample

This project is a little sample of how to implement a simple 2D collision system and their implementation in C# with XNA, also compatbile with MonoGame.

The sample shows how to detect collisions between different bodies, implement the response to the collision, how to trace rays for calculate trayectories in the scene, and how to implement trigger areas (for raise events).

The code is programmed in a way to be less dependent from the XNA/Monogame framework, to be easy to port to other languages and frameworks.

Contributors

Languages