generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: ROBLOX needs to make GUI positioning easier.

Previous Thread :: Next Thread 
DartzFromVMK is not online. DartzFromVMK
Joined: 30 Apr 2010
Total Posts: 706
19 Mar 2011 07:57 PM
My god, I feel like positioning a GUI is harder than writing the actual code.
Report Abuse
Emess is not online. Emess
Joined: 01 Apr 2010
Total Posts: 13331
19 Mar 2011 07:59 PM
It'd be cool if making GUIs could be similar to how you make 2D elements on Visual Studio.
Report Abuse
DartzFromVMK is not online. DartzFromVMK
Joined: 30 Apr 2010
Total Posts: 706
19 Mar 2011 08:06 PM
DUDE I KNOW
Report Abuse
MrNicNac is not online. MrNicNac
Joined: 29 Aug 2008
Total Posts: 26567
19 Mar 2011 08:20 PM
I think a GUI-studio would be nice. Would work just like Visual Studio.
Report Abuse
ENET is not online. ENET
Joined: 01 Jan 2010
Total Posts: 4820
19 Mar 2011 08:23 PM
Why not just make one?
Report Abuse
Charl3s7 is not online. Charl3s7
Joined: 07 Dec 2007
Total Posts: 4146
19 Mar 2011 08:24 PM
:D Lets do it!
Report Abuse
acid1103 is not online. acid1103
Joined: 28 Jul 2009
Total Posts: 1574
19 Mar 2011 08:28 PM
@MNN
I was gonna to do that a few weeks ago, but then I got lazy and didn't feel like doing all the work, so I threw the project out.
Report Abuse
Charl3s7 is not online. Charl3s7
Joined: 07 Dec 2007
Total Posts: 4146
19 Mar 2011 08:32 PM
I'm so going to make this :o
Report Abuse
MrNicNac is not online. MrNicNac
Joined: 29 Aug 2008
Total Posts: 26567
19 Mar 2011 08:33 PM
As am I.
Report Abuse
unknownman2000 is not online. unknownman2000
Joined: 22 Jul 2010
Total Posts: 606
19 Mar 2011 08:37 PM
i woulod be cool if you select the resize/move on axis tool and selcted the gui your can resize/move guis like bricks
Report Abuse
blobbyblob is not online. blobbyblob
Joined: 29 Oct 2008
Total Posts: 12165
19 Mar 2011 08:38 PM
Oh, quit whining. Gui positioning isn't hard.


My approach: make main containment frames be positioned by scale + offset, and sized by offset only. Everything inside is easy to work with, then.
Report Abuse
xSIXxStorage is not online. xSIXxStorage
Joined: 22 Aug 2010
Total Posts: 1811
19 Mar 2011 08:41 PM
What blobby said.
Report Abuse
unknownman2000 is not online. unknownman2000
Joined: 22 Jul 2010
Total Posts: 606
19 Mar 2011 08:41 PM
@blobbyblob
thats what i do, unless the size is across the screen.Its easier to just put 1,0,1,0
it would be alot easier with the resize/move on axis tool
Report Abuse
LPGhatguy is online. LPGhatguy
Forum Moderator
Joined: 27 Jun 2008
Total Posts: 4725
19 Mar 2011 08:52 PM
Heck, it's a lot easier than in a real game-situation, I must admit.

I built a rather small GUI engine using C# and XNA awhile back, and I ended up creating a structure similar to the UDim2 object in ROBLOX.
Report Abuse
Aaaboy97 is not online. Aaaboy97
Joined: 05 Apr 2009
Total Posts: 6612
19 Mar 2011 09:12 PM
Would you rather have to deal with pesky layout managers like in Java?
Report Abuse
Emess is not online. Emess
Joined: 01 Apr 2010
Total Posts: 13331
19 Mar 2011 09:15 PM
@blobbyblob
Yeah, modifying numbers sure is fun...
Report Abuse
Samacado is not online. Samacado
Joined: 16 Feb 2008
Total Posts: 25119
19 Mar 2011 09:54 PM
It's not hard at all.
Report Abuse
miloguy is not online. miloguy
Joined: 19 Dec 2009
Total Posts: 7702
20 Mar 2011 12:30 AM
UDim2.XY=function(x,y)
return UDim2.new(0,x,0,y)
end
local Vector2={new=UDim2.XY}
local Point=Vector2



Now you can say
someframe.Position=UDim2.XY(100,100)
or
someframe.Position=Vector2.new(100,100)
or
someframe.Position=Point.new(100,100)

Whatever you like best
Report Abuse
miloguy is not online. miloguy
Joined: 19 Dec 2009
Total Posts: 7702
20 Mar 2011 12:31 AM
@Aaa
set layout to null then you can just say setBounds() to buttons and labels and stuff
Report Abuse
testRadioaktiivinen is not online. testRadioaktiivinen
Joined: 20 Feb 2010
Total Posts: 201
20 Mar 2011 12:44 PM
Wouldnt work as we must have both size and offset on size and position so we can make stuff...
Report Abuse
nickmaster24 is not online. nickmaster24
Joined: 04 Oct 2008
Total Posts: 8906
20 Mar 2011 12:47 PM
Two things:

Would it be based on position or offset?

Roblox needs GUI rotation.
Report Abuse
Bluemew99 is not online. Bluemew99
Joined: 13 Oct 2010
Total Posts: 222
20 Mar 2011 12:58 PM
how about a drag-and-drop type of positioning, and you can enable or disable a snap-to tool for it so you can have precise positioning?
Report Abuse
Infinitive is not online. Infinitive
Joined: 21 Apr 2010
Total Posts: 2619
20 Mar 2011 02:18 PM
Ya! Make an external program to make guis
Report Abuse
miloguy is not online. miloguy
Joined: 19 Dec 2009
Total Posts: 7702
20 Mar 2011 04:34 PM
Drag and drop with GUIs would be soooo useful
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
20 Mar 2011 05:32 PM
*scrolls down to the bottom of the page*

WELL HOW DO YOU PROPOSE WE MAKE IT EASIER? WE NEED IT TO FIT SCREEN SIZES. [/caps]
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image