Hey KingStared,
The reason why you keep encountering this 'problem' is because in Assassin the Size of the Guis is done by Offset however, the Position is done in Scale. Which is why, the Gui changes it's position when you resize the window however, it's size stays the same. For you to change your Gui's Size to Offset is quite simple.
Guis have Size and Position and these are UDim2 values. UDim2 values have 4 parameters in total. 2 of the first ones being 'X' and 'Y' and inside 'X' and 'Y' are 2 more properties: Scale and Offset. When you change the Scale of a Gui, that means that no matter how big or small the window becomes, the Gui will adjust accordingly however, with Offset the Gui keeps it's original coordinates and will not change it's Property no matter if you resize the window or not. So, you just have to change the Size properties of your Gui from Scale to Offset. By the way, I made a Java program a while back that changed Offset to Scale and vice-versa. I'll give you the equation to change from Scale to Offset.
####For X Coordinate Changing of Scale to Offset
local max_pixels = 1439;
local scale =
local pixels = scale * max_pixels;
print(pixels)
####For Y Coordinate Changing of Scale to Offset
local max_pixels = 610;
local scale =
local pixels = scale * max_pixels;
print(pixels);
##Well, I hope i helped and make sure you only change ur Size from Scale to Pixels and not your Position. Also, delete the Scale coordinate once you are done converting and you've set the Offset property accordingly.
~~ KingLoneCat
12 comments
This works perfectly the only problem was how in Assassin it is always in the middle. When I did it with my shop both sides are not the same.
Did you make sure to leave the Position Scaled and make the Size Offset?
The size is just offset, is it bad that I am using offset and scale for my position?
Yea, just use scale for your position. Only scale.
I tried it an it still does the same thing.
Position: {0.229, 0},{0.196, 0} Scale:{0, 700},{0, 400}
By 'Scale' you mean Size?
Oh, make sure the Position of the Guis inside of the Main Frame is not scaled. Make sure it's offset.
Mess around with the Guis inside. Try out how their position will be in offset and their size in offset.
So I did it offset for both scale and positon and it still is the same https://gyazo.com/27db2d993cfc4ad883af675e0477ded2
For the guis in the main frame
Bump