Chaos Project

Game Development => General Discussion => Topic started by: Ryex on December 10, 2010, 02:39:01 am

Title: [Input wanted] Kernel extension framework
Post by: Ryex on December 10, 2010, 02:39:01 am
https://github.com/Ryex/RPG-Maker-PY/blob/master/src/Kernel.py (https://github.com/Ryex/RPG-Maker-PY/blob/master/src/Kernel.py)

I just finished this extension framework that will allow RMPY to be extended.
I envision it working like this

(http://img710.imageshack.us/img710/3334/63544540.png)

the point of this that even the core is treated as a plugin and any part of it can be replaced or extended. (want to add a button to open a new editor interface? would you like some cake to go with that?)

apart form the obvious benefit of being able to extend the program it also promotes code modality.

what I want is input, do you think I achieved my goal with the code I have written? could it be done better? are there more interfaces I should add?
that kind of thing.

also If you think I should completely redo it in another way thats ok too. just tell me what you think.
Title: Re: [Input wanted] Kernel extension framework
Post by: Blizzard on December 10, 2010, 02:53:02 am
I think the simple architecture of "create extension manager" -> "register extensions" -> "use extensions" is good enough.