Now that I’ve been with the GUIS I see that I need to learn from them more than ever…
I am making a gui system which, according to a value, a bar fills up but I need to know which axes should be added or subtracted from side to side and that it is connected to the value even if it becomes longer than the size of the gui, it would be a calculation mathematician which I would take care of or maybe it is not like that but the point is that I need to see if you can send me a topic or anything that can help me if you do not understand ANYTHING simply give your opinion but something on the subject EVERYTHING IS USEFUL EVEN IF YOU DO NOT BELIEVE MANY THANK YOU FOR YOUR ATTENTION…
I just realized that many people have already made themes similar to this but believe it or not this has a different objective if someone could send me a documentation
From my understanding you are talking about a script.
You will need a GUI and then you will need a frame and then another piece that with a script will fill. I am currently away from my computer but I can send a good model that I can add some notes to the script for you if that helps. It will contain two parts one that fills up if that helps?
I’m in EST so I can send to you by 12;00 EST January 23rd if you’d like?
GUI use Udim2 to define position and size, which have two components for X and Y (four total). The first component is multiplied by the parent’s size in pixels, and the second component is just pixels. So if you want the top left corner of an element to be 4 pixels from both edges of its parent, you’d set its position as {0, 4} {0, 4}.
If you want something to be in the bottom right corner, then you can calculate this by knowing its size. Say you have a 128 by 32 pixel button, to have it be in the bottom right with an extra pad of 4 pixels, same as the previous example, its position should be {1, (-128 - 4)} {1, (-32 - 4)}. This will work out to a different position in pixels based on the size of the parent, but it will always be nicely placed in the corner. So if the parent is 400 x 400 pixels the buttons top left corner will be at 268, 364, and the bottom right corner of the button will be at 396, 396.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.