Wonderlarr Posted May 4, 2021 Share Posted May 4, 2021 I'd like to implement some custom HUD elements into my mod, as well as some other elements similar to that, but I have no idea where to start with learning how to use Widgets. There doesn't seem to be a solid tutorial or guide on how to use them, and every mod that I look at that uses them are overly confusing and complicated. If you could point me in the direction of a tutorial I may have missed, it would be greatly appreciated of all of you, or at the very least, a good mod to learn them from. For now I'm looking into beefalo widgets to learn, but it's weird. Link to comment https://forums.kleientertainment.com/forums/topic/129605-how-can-i-get-started-with-widgets/ Share on other sites More sharing options...
Monti18 Posted May 4, 2021 Share Posted May 4, 2021 The only tutorial that I found when I started to learn widgets was this one: Widgets are quite complicated, at least for me, so it's not an easy task. What kind of widgets do you have in mind to do? If you tell me, I could perhaps give you some help. 1 Link to comment https://forums.kleientertainment.com/forums/topic/129605-how-can-i-get-started-with-widgets/#findComment-1456032 Share on other sites More sharing options...
Valericoe Posted May 6, 2021 Share Posted May 6, 2021 Custom UI elements are mostly placing elements on a root element and code for getting that root element on the screen in the first place. Everything child added to the parent element is placed relative to it as well, which makes placement convenient. Let me know if you run into any issues! Link to comment https://forums.kleientertainment.com/forums/topic/129605-how-can-i-get-started-with-widgets/#findComment-1456939 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now