News for hackers. Stuff that matters.
Re:Core: New way to develop video games by farazzz on Sunday September 08, 2024 @06:01PM (#41483607)
I love everything about Godot so much, except for its UI system

It is just so confusing to me and took me over a day to get a simple menu aligned how I wanted

it might just be me not understanding how it works though

Re:Core: New way to develop video games by nkrisc on Sunday September 08, 2024 @06:09PM (#41483661)
Godot’s UI system is easier when you realize that Control-derived nodes are even more granular than even HTML elements. They’re more like Tailwind classes.

Yes, your UI will be a tree of Control nodes 20 levels deep, and that’s fine.

Your root UI node will probably be an HBoxContainer, or VBoxContainer, each of which simply arranges their children horizontally or vertically, respectively. Between those two nodes you can create 90% of UIs you’d want to.