I started to re-make my old GUI system into a new and improved system. I used some code from Moguri’s BGUI and from the old versions.
The system features styling with textures (only), parenting and fonts.
Everything is on GitHub: https://github.com/DCubix/Compz, just clone or click Clone or Download -> Download ZIP.
There’s a test blend and the entire source code along with images.
I will be writing tutorials and docs soon, but until then I will keep adding more features.
There is so much I love about this. The layout-oriented panels, easy position/resize, small constructors, buttons activating on release, custom icon, image-based styling…
In all honesty I’m not concerned about the lack of aspect-ratio stuff that bgui had. Was kinda complicated and only really useful when making borders or dividing the screen. It’s easy enough to do panel.width = bge.render.getWindowWidth()
Now if the engine had a callback for window resize we’d be in business, although I suppose a user could do the same by comparing width/height each frame.
@Josip Kladaric
No I don’t mind, as long as you credit me hehe. But keep in mind tht the only documentation I have is the test blend. I will start to write docs asap!
@pqftgs
There’s o license yet, but I might use MIT.