Ok we can do all this fancy stuff btu there's no simple way to draw a rectangle or a circle or a sphere etc, all these openGL things the average user sees as jargonese.
I'm not asking for a windowing kit or a do everything library, just something to wrap up basic actions like 'draw rectangle on map here' ' draw text at xyz size I colour J' ' Draw image Y on world at XYZ of size IJ' ' Draw icon on screen at position XY' etc.....
A user should be able to create a very simple UI widget without needing to know a single thing about openGL.
[Request] Lua script helper library
Moderator: Moderators
- TheFatController
- Balanced Annihilation Developer
- Posts: 1177
- Joined: 10 Dec 2006, 18:46
Since we're code begzoring anyways, let me say what I want.
Basically what I'm looking for would be for a simple LUA XML parser (or similar definition file) that would allow the definition of GUI elements and display game variables and trigger script procedures... this framework would the be accessible using a simple parent-child object model in LUA and could have as much or as little code attached to it as needed...
but just making it as easy as, a "shape" object with top, left, height, width, and some way to capture mouseoverXY/mousedownXY/mouseupXY would be enough to get most of us marginally interested in learning to script LUA started.
Basically what I'm looking for would be for a simple LUA XML parser (or similar definition file) that would allow the definition of GUI elements and display game variables and trigger script procedures... this framework would the be accessible using a simple parent-child object model in LUA and could have as much or as little code attached to it as needed...
but just making it as easy as, a "shape" object with top, left, height, width, and some way to capture mouseoverXY/mousedownXY/mouseupXY would be enough to get most of us marginally interested in learning to script LUA started.