EasingStyle (Enum): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>MrNicNac
New page: {| class="wikitable" width=100% border="1" cellspacing="0" cellpadding="4" style="background-color: #fdd; border: 1px solid #f00;" |+ <big>Sets the direction for tweening.</big> |- | bgcol...
>MrNicNac
Some explanations.
Line 8: Line 8:
|0
|0
|Linear
|Linear
|N/A
|Uses a linear interpolation to reach the end point in a simple manor.
|-
|-
|1
|1
Line 16: Line 16:
|2
|2
|Back
|Back
|N/A
|Onces the GUI reaches its target point, it will go over it just a bit (depending on the time argument), and then return to the target position.
|-
|-
|3
|3
Line 32: Line 32:
|6
|6
|Bounce
|Bounce
|N/A
|Bounces off the end point a couple times (speed depends on the time argument) and returns to the end position.
|-
|-
|7
|7
|Elastic
|Elastic
|N/A
|Acts as if the GUI were being stretched like rubber and then launches towards its end point.
|}
|}

Revision as of 19:35, 22 April 2011

Sets the direction for tweening.
Enum Name Description
0 Linear Uses a linear interpolation to reach the end point in a simple manor.
1 Sine N/A
2 Back Onces the GUI reaches its target point, it will go over it just a bit (depending on the time argument), and then return to the target position.
3 Quad N/A
4 Quart N/A
5 Quint N/A
6 Bounce Bounces off the end point a couple times (speed depends on the time argument) and returns to the end position.
7 Elastic Acts as if the GUI were being stretched like rubber and then launches towards its end point.