MTamidex
|
  |
| Joined: 17 Oct 2013 |
| Total Posts: 1092 |
|
|
| 07 Jul 2014 02:08 PM |
| So i want to make a loading script. Yes, i have all the GUIs ready. But i don't know how to use TweenSize. Can you help a bit? |
|
|
| Report Abuse |
|
|
domorox17
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 1710 |
|
|
| 07 Jul 2014 02:08 PM |
| http://wiki.roblox.com/index.php/Tweening |
|
|
| Report Abuse |
|
|
Conmiro
|
  |
| Joined: 13 Oct 2008 |
| Total Posts: 3393 |
|
|
| 07 Jul 2014 02:11 PM |
| ^I can't believe this existed and I never knew about it. I've always done it manually -.- |
|
|
| Report Abuse |
|
|
domorox17
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 1710 |
|
|
| 07 Jul 2014 02:14 PM |
| I didn't until recently. It is pretty easy to use. |
|
|
| Report Abuse |
|
|
MTamidex
|
  |
| Joined: 17 Oct 2013 |
| Total Posts: 1092 |
|
|
| 07 Jul 2014 02:17 PM |
Thanks dude
-OMG 500TH POST |
|
|
| Report Abuse |
|
|
domorox17
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 1710 |
|
| |
|
MTamidex
|
  |
| Joined: 17 Oct 2013 |
| Total Posts: 1092 |
|
|
| 07 Jul 2014 02:41 PM |
Uhh... I guess im just dumb but i couldn't figure it out.
I don't know what method should i use. I tried using that method Adding motion to an element. |
|
|
| Report Abuse |
|
|
domorox17
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 1710 |
|
|
| 07 Jul 2014 02:43 PM |
| Try using TweenSizeAndPosition. |
|
|
| Report Abuse |
|
|
MTamidex
|
  |
| Joined: 17 Oct 2013 |
| Total Posts: 1092 |
|
|
| 07 Jul 2014 02:48 PM |
But i only need the size so now im trying to combine 2 tutorials they have there.
Its preety hard to teach me though. im a failure |
|
|
| Report Abuse |
|
|
domorox17
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 1710 |
|
|
| 07 Jul 2014 02:52 PM |
| Using TweenSizeAndPosition will make it appear to stretch across the screen. You could always use text and numbers exclusively. |
|
|
| Report Abuse |
|
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 07 Jul 2014 02:59 PM |
If it's a loading bar then simply
script.Parent:TweenSize(UDim2.new(1,0,1,0),"Linear","Out",4)
4 is time in secs Not sure if linear and out are the roght way round |
|
|
| Report Abuse |
|
|
MTamidex
|
  |
| Joined: 17 Oct 2013 |
| Total Posts: 1092 |
|
| |
|
|
| 07 Jul 2014 03:12 PM |
| Iv'e heard about tweening, can it be used to make a scrolling credits thing? (ill worry about it later) |
|
|
| Report Abuse |
|
|
MHebes
|
  |
| Joined: 04 Jan 2013 |
| Total Posts: 2278 |
|
|
| 07 Jul 2014 03:37 PM |
| Yes, spazz, but since that's continual, linear motion, a simple loop would probably be easier to control. |
|
|
| Report Abuse |
|
|
RealLua
|
  |
| Joined: 19 Jul 2013 |
| Total Posts: 50 |
|
|
| 07 Jul 2014 03:46 PM |
Before I knew about tweening, I used for statements.
for i = 1, 10 do wait(); script.Parent.Size = script.Parent.Size + UDim2.new(.1, 0, 0, 0) end
Not as effective as tween. It's faster, 1 line. |
|
|
| Report Abuse |
|
|