Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: