UIBox (UI Layout)

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
Jugbot
Prole
Posts: 14
Joined: Mon Jun 24, 2019 9:54 pm

UIBox (UI Layout)

Post by Jugbot »

This is a small thing I made when I (stupidly) tried making my own ui framework for a game.

I couldn't bring myself to delete it since I was very proud of the clear syntax and flexability of it.

https://github.com/Jugbot/love-uibox/bl ... /README.md

I'm sad that I havent found an existing framework with nice syntax :(
I'm using nuklear atm and the consistency is a big mess imo.
User avatar
Pyuu
Prole
Posts: 22
Joined: Mon Jul 11, 2016 1:19 am

Re: UIBox (UI Layout)

Post by Pyuu »

Just as a small note for others, this project won't work correctly if you Download as Zip vs. git cloning it. The project requires the log30 library (which is included in a git clone, but not with download as zip).

If you download as zip, you will get "module '30log.30log-global' not found".

Now for actual feedback:
I really like the object-oriented approach you took when defining UIBox and UIText, however...
There isn't much documentation set in place for the classes that are being defined, such as UIBox or UIText having little to no comments. Even though the code generally is readable at first glance, it may be difficult for others to come in and extend the library.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest