1 decade ago by TigerJ
You may have seen other posts in code about a plugin I am trying to make. I have a nice working copy that is still WIP for features located at
https://github.com/TigerJ/DarcyMenu
demo: http://devbriggs.com/experiment/
in a console you can:
add an item
change a property and rebuild
I am curious if I have done some things wrong or in a non standard way. I am especially curious about how to properly have an instance of a plugin class update(), init(), and draw() without having the user specify each instance to do so.
any and all advice is greatly appreciated.
https://github.com/TigerJ/DarcyMenu
demo: http://devbriggs.com/experiment/
in a console you can:
add an item
ig.game.darcy.addItem("test","testbutton","shoot",function(){console.log("I am a test")});
change a property and rebuild
ig.game.darcy.ButtonProperties.ButtonSize.y=25 ig.game.darcy.rebuildMenu()
I am curious if I have done some things wrong or in a non standard way. I am especially curious about how to properly have an instance of a plugin class update(), init(), and draw() without having the user specify each instance to do so.
any and all advice is greatly appreciated.