|
| 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
|
  |
| 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 |
|
|
| |
|
|
| 06 Feb 2015 11:30 AM |
bump
siggy:Destroy() -- Twitter @umaybleed |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 06 Feb 2015 01:51 PM |
function bump() return this:getBump() end
bump()
siggy:Destroy() -- Twitter @umaybleed |
|
|
| Report Abuse |
|
|
| |
|
Skelris
|
  |
| Joined: 02 Jan 2009 |
| Total Posts: 4785 |
|
| |
|
| |
|
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
|
  |
| Joined: 22 Sep 2010 |
| Total Posts: 330 |
|
|
| 07 Feb 2015 06:42 PM |
| PS: and make it a global function |
|
|
| Report Abuse |
|
|
OmikronX
|
  |
| Joined: 22 Sep 2010 |
| Total Posts: 330 |
|
| |
|
|
| 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
|
  |
| Joined: 08 Aug 2014 |
| Total Posts: 4898 |
|
| |
|
natth4545
|
  |
| Joined: 29 May 2012 |
| Total Posts: 365 |
|
| |
|
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 |
|
|
| |
|
|
| 07 Feb 2015 08:35 PM |
| Support of this and.. +1 Bump |
|
|
| Report Abuse |
|
|
| |
|
|
| 09 Feb 2015 12:49 PM |
while true do thread:Bump() end wait()
siggy:Destroy() -- Twitter @umaybleed |
|
|
| Report Abuse |
|
|
| |
|
|
| 11 Feb 2015 12:57 PM |
bump
siggy:Destroy() -- Twitter @umaybleed |
|
|
| Report Abuse |
|
|
|
| 12 Feb 2015 03:27 PM |
thread:Bump() return true;
siggy:Destroy() -- Twitter @umaybleed |
|
|
| Report Abuse |
|
|
| |
|
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 |
|
|