|
| 22 May 2013 11:14 PM |
Essentislly, I want a certain image on the screen to move at a consant pace to a set position. I know how to use UDim....but it isn't as smooth as I'm wanting it to be.... Any suggestions on how I can get the effect I'm wanting? |
|
|
| Report Abuse |
|
|
|
| 22 May 2013 11:16 PM |
http://wiki.roblox.com/index.php/TweenPosition
Add 5366 to my post count. |
|
|
| Report Abuse |
|
|
|
| 22 May 2013 11:19 PM |
| So this will make it slow and consistant? |
|
|
| Report Abuse |
|
|
|
| 22 May 2013 11:21 PM |
You can set how long it will take to the desired position.
You should read the page a bit more
Add 5366 to my post count. |
|
|
| Report Abuse |
|
|
|
| 22 May 2013 11:47 PM |
Ok, I set all the values up correctly (I think)....and I tried to get it to repeat moving into different positions, however, it isn't working....what's wrong?
Script;
while true do script.Parent:TweenPosition(UDim2.new(0, -850, 0, 70), "Out", "Linear", 30) wait(1) script.Parent:TweenPosition(UDim2.new(0, 0, 0, 70), "Out", "Linear", 30) wait(1) end |
|
|
| Report Abuse |
|
|
WishNite
|
  |
| Joined: 11 Feb 2009 |
| Total Posts: 15828 |
|
|
| 22 May 2013 11:52 PM |
script.Parent:TweenPosition(UDim2.new(0, -850, 0, 70), "Out", "Linear", 30,true)
Be warned, though, that it takes 30 seconds for it to change.
while true do script.Parent:TweenPosition(UDim2.new(0, -850, 0, 70), "Out", "Linear", 30, true) wait(30) script.Parent:TweenPosition(UDim2.new(0, 0, 0, 70), "Out", "Linear", 30, true) wait(30) end |
|
|
| Report Abuse |
|
|
|
| 22 May 2013 11:57 PM |
| So the bottom portion of the script will keep it moving back and forth 'forever'? |
|
|
| Report Abuse |
|
|
| |
|