I've been working on a game for some time now, and while it's been slow going lately due to getting a day job and having to replace my computer earlier in the year, I've finally gotten around to releasing the engine for the game as an open source project on git hub here: https://github.com/tstwizby/ScarletCore/tree/master
While at the moment the documentation is somewhat opaque (and my coding style is objectively cursed) I would be interested in working with people to develop it further as its own project, separate from the game (which I'm partly developing as a proof-of-concept for the engine).
As for some details: The engine is written in C, using SDL for IO, and is intended to be extremely lightweight and portable. In the short term I'm only actively working on a Windows version, but a Linux version is trivial to implement and a Mac version requires very little tweaking (though due to Apple's current security practices I have no ability to actually distribute a Mac version of the engine at this time). It is intended to be used mainly for Visual Novel/Adventure style games, though it has some flexibility, and development at the moment is closely tied to development of my game (with features being added to the engine as they are required for the game).
Games running on the engine (currently named ScarletCore) consist of a number of 'locations', each of which has a background image and a collection of 'scripts' associated with it describing how the game behaves. There are a number of variables tracking data in the game, including both default variables like 'time of day' or 'weather', as well as user-defined variables, which can be used to control script behavior. Backgrounds can be dynamically generated depending on the time of day, weather, etc. Scripts are compiled both for obfuscation and to slightly improve performance, since one of the goals of the engine is to have it be as lightweight as I can make it. Right now a lot of the details are not set in stone, for obvious reasons, and I would appreciate any feedback people are willing to give me. While I'm unlikely to work on tools for the engine much in the near future, I would be happy to talk with anyone interested in learning more directly.