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
 

Tweening Sizes to both sides.

Previous Thread :: Next Thread 
Septor_Dev is not online. Septor_Dev
Joined: 15 Mar 2016
Total Posts: 124
25 Apr 2016 06:52 PM
How can I tween sizes for both sides (because it only tweens one side) using :TweenSize?



Have a great day ;)
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
25 Apr 2016 07:01 PM
tween size and position because position is top left not center
Report Abuse
C_Sharper is not online. C_Sharper
Joined: 03 Oct 2011
Total Posts: 6405
25 Apr 2016 07:11 PM
TweenSizeAndPosition(UDim2.new(1,0,0,0),UDim2.new(.5,0,0,0))

Assuming the first argument is the size.
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
25 Apr 2016 07:12 PM
that would be an invisible gui lol 0 thickness
Report Abuse
C_Sharper is not online. C_Sharper
Joined: 03 Oct 2011
Total Posts: 6405
25 Apr 2016 07:13 PM
Nvm what I said tweenposition for this is tricky

Here's what I do without it


frame.Size = frame.Size + UDim2.new(0,0,.5,0)
frame.Position = frame.Position - UDim2.new(0,0,.25,0) --Half of the size added, going in the opposing direction
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
25 Apr 2016 07:14 PM
again a 0 thickness gui ^
Report Abuse
C_Sharper is not online. C_Sharper
Joined: 03 Oct 2011
Total Posts: 6405
25 Apr 2016 07:14 PM
its an example m8
Report Abuse
C_Sharper is not online. C_Sharper
Joined: 03 Oct 2011
Total Posts: 6405
25 Apr 2016 07:15 PM
and how is it 0 thickness if i add and subtract udims from it
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
25 Apr 2016 07:17 PM
oh true that one isn't im dumb
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