Arxk
|
  |
| Joined: 01 Dec 2013 |
| Total Posts: 858 |
|
|
| 01 Mar 2017 05:33 PM |
I have a problem in my guis on my games.
Where If I position it the right spot in studio it will appear perfect and inline where I want it to be.
But when I go into the game itself it appears to be off the gui, like its not even close to the place where i positioned it first?
Help?
|
|
|
| Report Abuse |
|
|
Arxk
|
  |
| Joined: 01 Dec 2013 |
| Total Posts: 858 |
|
| |
|
Arxk
|
  |
| Joined: 01 Dec 2013 |
| Total Posts: 858 |
|
|
| 01 Mar 2017 05:34 PM |
Need an answer, it's been really bugging me for the past couple days.
|
|
|
| Report Abuse |
|
|
Arxk
|
  |
| Joined: 01 Dec 2013 |
| Total Posts: 858 |
|
| |
|
Arxk
|
  |
| Joined: 01 Dec 2013 |
| Total Posts: 858 |
|
| |
|
Arxk
|
  |
| Joined: 01 Dec 2013 |
| Total Posts: 858 |
|
| |
|
Arxk
|
  |
| Joined: 01 Dec 2013 |
| Total Posts: 858 |
|
| |
|
|
| 01 Mar 2017 05:37 PM |
(use this, 0) (use this, 0)
Your going to want to use the first zero instead of the second one. The other two zero's are the gui's offset and differs depending on the resolution of your monitor, and because the Workspace and Properties pannel and such are on your screen in studio, your resolution changes when your in the game because those panels are gone.
|
|
|
| Report Abuse |
|
|
Arxk
|
  |
| Joined: 01 Dec 2013 |
| Total Posts: 858 |
|
| |
|
Arxk
|
  |
| Joined: 01 Dec 2013 |
| Total Posts: 858 |
|
|
| 01 Mar 2017 05:38 PM |
wait. do you get what im saying though?
|
|
|
| Report Abuse |
|
|
Arxk
|
  |
| Joined: 01 Dec 2013 |
| Total Posts: 858 |
|
|
| 01 Mar 2017 05:38 PM |
OHHHH I GET IT, thanks!!!!
|
|
|
| Report Abuse |
|
|
Arxk
|
  |
| Joined: 01 Dec 2013 |
| Total Posts: 858 |
|
|
| 01 Mar 2017 05:40 PM |
wait but right now the position of the frame is {0.5, 240},{0.5, -150}
what would i change it to?
|
|
|
| Report Abuse |
|
|
|
| 01 Mar 2017 05:41 PM |
| It depends on the size of the gui. |
|
|
| Report Abuse |
|
|
Arxk
|
  |
| Joined: 01 Dec 2013 |
| Total Posts: 858 |
|
| |
|
|
| 01 Mar 2017 05:44 PM |
Well, if you wanted it in the center, the position would be:
{0.5, -150},{0.5, -175} because it's taking away half of the gui's size...I'm not exactly sure what you'd change the position to but if I were you I'd eye ball it.
|
|
|
| Report Abuse |
|
|
Arxk
|
  |
| Joined: 01 Dec 2013 |
| Total Posts: 858 |
|
|
| 01 Mar 2017 05:55 PM |
still not working. want a screen shot?
|
|
|
| Report Abuse |
|
|
Scottifly
|
  |
| Joined: 30 Jan 2011 |
| Total Posts: 9180 |
|
|
| 01 Mar 2017 06:17 PM |
The ROBLOX wiki has this: Check out the UDim2 section.
http://wiki.roblox.com/index.php?title=The_Fundamentals_of_Scripting_with_GUIs
|
|
|
| Report Abuse |
|
|
Scottifly
|
  |
| Joined: 30 Jan 2011 |
| Total Posts: 9180 |
|
|
| 01 Mar 2017 06:18 PM |
| (Because there are 2 sections to fill in, the frame.Size and the frame.Position) |
|
|
| Report Abuse |
|
|