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 » Roblox » Suggestions & Ideas
Home Search
 

Re: GUI BorderRadius

Previous Thread :: Next Thread 
Semaphorism is not online. Semaphorism
Joined: 16 Feb 2008
Total Posts: 4831
04 Feb 2015 07:56 PM
Just like how CSS defines how Divs have curved borders.

For each of the gui elements add a BorderRadius property.
How it works:

UDim2 BorderRadius

The reason for a UDim2, is you would define each corner's radius, so for example
Frame.BorderRadius = UDim2.new(10,5,5,5)

Or do Frame.BorderRadius = 15 to set all corners to 15 automatically.

Setup for UDim2
UDim2.new(Border-Top-Left, Border-Top-Right, Border-Bottom-Left, Border-Bottom-Right)

Benefits:
- Less images to be created and loaded to get curved buttons, therefore reducing storage usage on roblox servers by a slight amount.
- With this, you could create circle gui technically, just have a 30x30 frame with 15 border radius on all corners.
- Better GUI in games, people could make much nicer looking gui with curves.

Downsides:
- It'll take work to create this feature, but it's fully possible I am sure of it.
Report Abuse
Jonibus is not online. Jonibus
Joined: 30 Jan 2010
Total Posts: 8985
04 Feb 2015 08:20 PM
The GUIs need a LOT of work. This is one of those things it needs.

Twitter: @Jonibus_
Report Abuse
Semaphorism is not online. Semaphorism
Joined: 16 Feb 2008
Total Posts: 4831
05 Feb 2015 03:12 AM
Bump
Report Abuse
Semaphorism is not online. Semaphorism
Joined: 16 Feb 2008
Total Posts: 4831
06 Feb 2015 11:30 AM
bump




siggy:Destroy() -- Twitter @umaybleed
Report Abuse
GottaLoveMafia21 is not online. GottaLoveMafia21
Joined: 04 Apr 2014
Total Posts: 1762
06 Feb 2015 12:34 PM
Guessing you know how to script :3 A thing I'd like to do, but I'm only eleven so I'm not ready for coding just yet.

But it sounds like it'll benefit developers, so support.
Report Abuse
Semaphorism is not online. Semaphorism
Joined: 16 Feb 2008
Total Posts: 4831
06 Feb 2015 01:51 PM
function bump()
return this:getBump()
end

bump()




siggy:Destroy() -- Twitter @umaybleed
Report Abuse
ArcticSorcery is not online. ArcticSorcery
Joined: 19 Aug 2009
Total Posts: 4761
06 Feb 2015 01:57 PM
support
Report Abuse
Skelris is not online. Skelris
Joined: 02 Jan 2009
Total Posts: 4785
06 Feb 2015 02:17 PM
Support.
Report Abuse
Semaphorism is not online. Semaphorism
Joined: 16 Feb 2008
Total Posts: 4831
07 Feb 2015 06:25 PM
Bump
Report Abuse
OmikronX is not online. OmikronX
Joined: 22 Sep 2010
Total Posts: 330
07 Feb 2015 06:41 PM
Scriptable i think, It's like in C, you make your functions.
Report Abuse
OmikronX is not online. OmikronX
Joined: 22 Sep 2010
Total Posts: 330
07 Feb 2015 06:42 PM
PS: and make it a global function
Report Abuse
OmikronX is not online. OmikronX
Joined: 22 Sep 2010
Total Posts: 330
07 Feb 2015 06:44 PM
Maybe :/
Report Abuse
Semaphorism is not online. Semaphorism
Joined: 16 Feb 2008
Total Posts: 4831
07 Feb 2015 06:46 PM
Shouldn't have to make a script to create it, and how would you script it? Overlapping frames? Because it should be an integrated ui property.
Report Abuse
yelm is not online. yelm
Joined: 08 Aug 2014
Total Posts: 4898
07 Feb 2015 07:12 PM
yea
I want this.
Report Abuse
natth4545 is not online. natth4545
Joined: 29 May 2012
Total Posts: 365
07 Feb 2015 08:13 PM
YES support! I do Css too
Report Abuse
natth4545 is not online. natth4545
Joined: 29 May 2012
Total Posts: 365
07 Feb 2015 08:14 PM
or you can do it like prossesingJS and do GuiRectThing(10,90,50,30,BorderRadius)
Report Abuse
Imspartan9002 is not online. Imspartan9002
Joined: 24 Aug 2011
Total Posts: 2671
07 Feb 2015 08:27 PM
Hey, bump! And support.
Report Abuse
HackedSourceCode is not online. HackedSourceCode
Joined: 01 Aug 2014
Total Posts: 7
07 Feb 2015 08:35 PM
Support of this and.. +1 Bump
Report Abuse
Semaphorism is not online. Semaphorism
Joined: 16 Feb 2008
Total Posts: 4831
08 Feb 2015 04:09 PM
go bump!
Report Abuse
Semaphorism is not online. Semaphorism
Joined: 16 Feb 2008
Total Posts: 4831
09 Feb 2015 12:49 PM
while true do
thread:Bump()
end
wait()




siggy:Destroy() -- Twitter @umaybleed
Report Abuse
Semaphorism is not online. Semaphorism
Joined: 16 Feb 2008
Total Posts: 4831
10 Feb 2015 03:55 AM
while bump() do end
Report Abuse
Semaphorism is not online. Semaphorism
Joined: 16 Feb 2008
Total Posts: 4831
11 Feb 2015 12:57 PM
bump




siggy:Destroy() -- Twitter @umaybleed
Report Abuse
Semaphorism is not online. Semaphorism
Joined: 16 Feb 2008
Total Posts: 4831
12 Feb 2015 03:27 PM
thread:Bump()
return true;




siggy:Destroy() -- Twitter @umaybleed
Report Abuse
TheDubstastrophy is not online. TheDubstastrophy
Joined: 23 Dec 2013
Total Posts: 1539
12 Feb 2015 03:37 PM
Support! Bump~
Report Abuse
bIackery is not online. bIackery
Joined: 12 Sep 2012
Total Posts: 543
12 Feb 2015 04:23 PM
can we have a 'doesn't understand scripting' part for dumb children like me please
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Roblox » Suggestions & Ideas
   
 
   
  • 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