A well-commented example of heightmap terrain and things related to it. * 2-dimensional array based terrain * Drawing terrain heightmap in 2d * Camera system * Movement system that counts height value difference's (slower movement when trying to get onto the hill, faster when going down the slope) * Using multiple views in d3d mode.