SpectraXGui code review

Hi, I’m trying to make an open-sourced GUI system that’s similar to HTML, CSS, and React (or JS).

I am a bit skeptical about my coding methods. Since it’s open-sourced, why not as well ask community members for their opinion?

the entire source code is here (on branch spectra-ui, please don’t touch other assets of my game.)

you can try to run the game and test things out yourself, but I’m posting this here for suggestions and not for release (yet!).

also please be wary of swear words in my commits, I’m a person that gets very angry when code not worky

5 Likes

Could u tell me how u intend to make this functional, like is it like a ui framework, and if so, how do u add elements?

yes, it’s a UI Framework

by making a .sty (module) file and requiring it, and using it on SpectraXGui

i will also make a bundle (or component) type file that abstracts the styles and reacts of the object and just turned into a single component

So I read through it and I’m not sure I dig the idea of creating an individual styling for each element, since its tedious.

how would it be tedious? you only have to specify certain things in one, and you can reuse them.

i might end up making it CSS/HTML formatted though.