|
| 25 Jul 2011 01:02 PM |
In Gui's???
I'm trying to learn how to use it...But i don't understand...
http://wiki.roblox.com/index.php/TweenPosition |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2011 01:06 PM |
| Just give me a Example of how it should be done. |
|
|
| Report Abuse |
|
|
| |
|
|
| 25 Jul 2011 01:14 PM |
TweenPosition was hard for me to learn too, but once learned it is very simple.
Here is a quick example:
BUTTON:TweenPosition(UDim2.new(0.5,0,0.5,0),_,"Linear",waitTime, true)
This will move the button to the centre of the screen.
NOTE: If you want the button to go to the EXACT centre, I suggest get the size of the button, deviding it by two and put -ANSWER inside the zeros.
EXAMPLE
Size: 0, 20, 0, 20
BUTTON:TweenPosition(UDim2.new(0.5,-10,0.5,-10),_,"Linear",waitTime, true)
Hope this helped!
-End |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2011 01:18 PM |
It doesn't work...Is this the way?:
b = script.Parent b:TweenPosition(UDim2.new(0,150,0,150),_,"Linear",0.7, true)
"b = Frame" |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 25 Jul 2011 01:26 PM |
| script.Parent:TweenPosition(UDim2.new(0,150,0,150),_,"Linear",0.7, true) |
|
|
| Report Abuse |
|
|
| |
|
|
| 25 Jul 2011 01:29 PM |
LOL. That's incorrect, EndCredits.
Try this:
script.Parent:TweenPosition(UDim2.new(0,150,0,150), "Out", "Quad", 1, false, nil) |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2011 01:32 PM |
*Gives SoulStealer9875 Cookie*
Thanks!!! |
|
|
| Report Abuse |
|
|
| |
|