This is a school game project developed with C# and XNA 4.0. The map is created with Tiled Map Editor. Also I used a light shader to get a more intense effect of being in a cave. For collision we used rectangle and pixel perfect technique.
See the code snippet below for the function I used for pixel perfect collision.