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 » Scripting Helpers
Home Search
 

Re: "Loading" Script

Previous Thread :: Next Thread 
MTamidex is not online. 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 is not online. domorox17
Joined: 06 Mar 2012
Total Posts: 1710
07 Jul 2014 02:08 PM
http://wiki.roblox.com/index.php/Tweening
Report Abuse
Conmiro is not online. 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 is not online. 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 is not online. MTamidex
Joined: 17 Oct 2013
Total Posts: 1092
07 Jul 2014 02:17 PM
Thanks dude



-OMG 500TH POST
Report Abuse
domorox17 is not online. domorox17
Joined: 06 Mar 2012
Total Posts: 1710
07 Jul 2014 02:17 PM
No prob.
Report Abuse
MTamidex is not online. 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 is not online. domorox17
Joined: 06 Mar 2012
Total Posts: 1710
07 Jul 2014 02:43 PM
Try using TweenSizeAndPosition.
Report Abuse
MTamidex is not online. 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 is not online. 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 is not online. 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 is not online. MTamidex
Joined: 17 Oct 2013
Total Posts: 1092
07 Jul 2014 03:08 PM
Thanks, smiley599!
Report Abuse
SpazzMan502 is not online. SpazzMan502
Joined: 01 Aug 2013
Total Posts: 2397
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 is not online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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