I have prepared some learning content for you as promessed and will create a separate post for this.
You shall get the link shortly.
Edit:
I thought I would split this post in some ‘lessons’ because the subject is quite broad both for you to learn and for me to share. I hope you are ok with this.
I mean you already have the script and what you are likely missing is some explanations to it. So let’s start:
- You mentioned that when copying the script in the PG, it breaks. First reason for this is the way to import assets in the PG. Obviously, my GUI uses some icons stored on my server. The PG only accepts a few ‘trusted sources’. You can find this here. So, for the sake of keeping things simple, I will be using only assets from the bjs assets library that can be found here.
With that said, let’s first have an overall look at how the bjs (2D) gui works. This is the link to this new tutorial in 3 lessons.
Hope this will help,