A solid development for game devs, programmers and their respective student followings who have adventure titles on the brain and an understanding of C++: The already free game creator Adventure Game Studio (the same one that spawned titles such as Time Gentlemen, Please! and Snakes of Avalon) has recently offered up its engine source code as well.
Those interested have been instructed to use Visual C++ Express 2008, a free download from Microsoft — as opposed to the 2010 version — and will also need the DirectX SDK from Microsoft installed. There are also a few caveats for those looking to poke around, which the author has outlined:
- DO NOT use this source code as a learning resource or a guide on best practice.
- The state of the source code is VERY BAD and should in fact be considered an example of BAD PRACTICE.
- Unlike the AGS Editor code which is relatively modern and a generally good standard, the engine code dates back 12 years to 1999, and has a severe case of the another-bit-being-bolted-onto-the-side disease. It also retains compatibility with old versions which means that some of the old and particularly dire code paths cannot yet be removed.
- So just to be clear, YES I KNOW that the code is in a bad state. You don’t need to tell me that.
- I also know that AGS is used by thousands of games with thousands of combinations of game settings and script functions, and that any attempt to refactor the code into a better state is likely to inadvertently break something in someone’s game, which is why I haven’t attempted to do it yet.
Curious parties can obtain the files and full details over on the AGS forums.