That's right! The game is running already with modding support for plugins and scripting.
Here's technically what I did:
Modding/Plugins
As the game is written in C#, I used MEF to allow the game to load plugins. This is done now. So, I need to create an API for people to be able to interact with the game. More on that later...
Scripting
I used CodeDom to allow me to compile C# scripts into dlls, and load the compiled dlls and run them. So, it's already done where scripts written in C# can be used in the game
No comments:
Post a Comment