I’m working on a skill tree for my game, which is all GUI dependent, and I want to make it where clicking on one of the icons would bring that icon to the center of the screen.
This whole system is just janky, and I’m wondering if there’s some other way to do what I’m trying to do. I know that if I just used a 3d skill tree, I would just be able to set the camera’s CFrame to be above the icon, but I prefer it being GUI.
I would focus more on the fact that the background is stretching. Maybe set the background scale type to tile. Also I would test the screen sizes with the device emulator to see if it has that problem on actual device aspect ratios.
Which is the icon? Is it start? And what are the values? Also, I did notice from the image you are using. I am assuming you are making a game revolving around Murder Drones?
The center icon is the Start, the icon that’s off to the side is the Template. The thing that gets moved around is the main frame, and the main frame is the same size as the start icon.
Okay so, I fixed the X part of the icon positions, but even though the Y part functions exactly the same as the X, its still buggy. (Nevermind, the X axis is still acting up.)
I should mention that the AspectRatioConstraints have the default values. Same with UiCorners. All of the UI elements have a pivot offset of 0.5 both coordinates.
Tried for several hours now, and haven’t found a fix. I’m just gonna use 3d and make it look like its 2d, because it’s not worth the dozens of hours for it to be GUI dependent, when it can simply be recreated in 3d.