for some simple plugins that just exports one or two static apis and dispatch some events when something happened, it's not quit straightforward to have to create a specific instance to dispatch these events and addEventListener on that instance in lua.
It will be much easy if these events can be dispatched directly and handled in lua by any object such as stage,just as what APPLICATION_START works.
Comments
I will try it later.
https://sites.google.com/site/xraystudiogame