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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: TweenSize issue

Previous Thread :: Next Thread 
CUBES4LIFE is not online. CUBES4LIFE
Joined: 22 Jun 2009
Total Posts: 4956
09 Apr 2015 06:21 PM
I'm making a nice, short, basic intro gui and I want to employ TweenSize. I have made many intro guis before, but theyve all used TweenPosition. This is my first time using size and I already have an issue. When I run it, the frames don't smoothly get bigger, as they all start with a size of {0, 0, 0, 0}. What it looks like on my screen, is that I may as well have altered transparency from 1 to 0,a s there is no animation, it suddenly appears. Any help would be great. Thanks!

wait(1)

--// Variable Storage

local lineOne = script.Parent.StepOne
local lineTwoA = script.Parent.StepTwoA
local lineTwoB = script.Parent.StepTwoB
local lineThreeA = script.Parent.StepThreeA
local lineThreeB = script.Parent.StepThreeB
local text1 = script.Parent.Text1
local text2 = script.Parent.Text2
local text3 = script.Parent.Text3
local logo = script.Parent.Logo

--// Logic

lineOne:TweenSize(UDim2.new(0.15, 0, 0, 1), 'Out', 'Quint', .3, false)
lineTwoA:TweenSize(UDim2.new(0, 1, 0.3, 0), 'Out', 'Quint', .3, true)
lineTwoB:TweenSize(UDim2.new(0, 1, 0.3, 0), 'Out', 'Quint', .3, false)
lineThreeA:TweenSize(UDim2.new(1, 0, 0, 1), 'Out', 'Quint', .3, true)
lineThreeB:TweenSize(UDim2.new(1, 0, 0, 1), 'Out', 'Quint', .3, false)

Report Abuse
bomblover is not online. bomblover
Joined: 23 Mar 2011
Total Posts: 238
09 Apr 2015 06:24 PM
You're using .3 e.e. .3 = how long it'll take for the GUI to reach the desired size
Report Abuse
CUBES4LIFE is not online. CUBES4LIFE
Joined: 22 Jun 2009
Total Posts: 4956
09 Apr 2015 06:26 PM
I know, I've tried changing it to 10 too, still the same result.
Report Abuse
bomblover is not online. bomblover
Joined: 23 Mar 2011
Total Posts: 238
09 Apr 2015 06:26 PM
Try using Quad.
Report Abuse
CrowClaws is not online. CrowClaws
Joined: 04 Jul 2010
Total Posts: 4466
09 Apr 2015 06:26 PM

lineOne:TweenSize(UDim2.new(0.15, 0, 0, 1), 'Out', 'Quint', .3, false)
wait(.3)
lineTwoA:TweenSize(UDim2.new(0, 1, 0.3, 0), 'Out', 'Quint', .3, true)
wait(.3)
lineTwoB:TweenSize(UDim2.new(0, 1, 0.3, 0), 'Out', 'Quint', .3, false)
wait(.3)
lineThreeA:TweenSize(UDim2.new(1, 0, 0, 1), 'Out', 'Quint', .3, true)
wait(.3)
lineThreeB:TweenSize(UDim2.new(1, 0, 0, 1), 'Out', 'Quint', .3, false)


I don't know what your problem is but
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
09 Apr 2015 06:28 PM
I despise repeated lines. I'd rather use a table and use one line of TweenSize method.
Report Abuse
CUBES4LIFE is not online. CUBES4LIFE
Joined: 22 Jun 2009
Total Posts: 4956
09 Apr 2015 06:52 PM
bump
Report Abuse
CUBES4LIFE is not online. CUBES4LIFE
Joined: 22 Jun 2009
Total Posts: 4956
09 Apr 2015 07:21 PM
bump
Report Abuse
CUBES4LIFE is not online. CUBES4LIFE
Joined: 22 Jun 2009
Total Posts: 4956
09 Apr 2015 08:55 PM
bump
Report Abuse
CUBES4LIFE is not online. CUBES4LIFE
Joined: 22 Jun 2009
Total Posts: 4956
10 Apr 2015 01:59 AM
bump
Report Abuse
ash877 is not online. ash877
Joined: 18 Feb 2008
Total Posts: 5142
10 Apr 2015 02:10 AM
aren't they all getting tweened because Tweening doesn't wait for the code to run?
Report Abuse
ash877 is not online. ash877
Joined: 18 Feb 2008
Total Posts: 5142
10 Apr 2015 02:10 AM
So that means they all come in together at the same time.
Report Abuse
CUBES4LIFE is not online. CUBES4LIFE
Joined: 22 Jun 2009
Total Posts: 4956
10 Apr 2015 02:11 AM
The issue isnt that though, its the fact that they all appear out of nowhere and there is no animation of them changing size. One second they're invisible and the next they're not.
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