ChangeEngine is a project mainly written in C++, it's free.
Cal Poly Senior Project for Creation of a Game Engine