The Tweener is a powerfull tool to interpolate between different states in parameters over time.
This can be archived in an absolute way, defining a time in which the interpolation needs to be done
op('tweener').AbsoluteTween( target_parameter, target_value, time_in_seconds, curve:string = optional, delay:string = optional )
op('tweener').RelativeTween( target_parameter, target_value, difference_per_second, curve:string = optional, delay:string = optional )
Or call multiple tweens at once by using Tweens and passing a list of dictionaries with the important informations.
op("tweener").AbsoluteTweens( [ {"par" : target_parameter, "end": target_value, "time": optional, "curve" : optional, "delay" : optional} ]
, curve:string = optional
,time:float = optional )
op("tweener").RelativeTweens( [ {"par" : target_parameter, "end": target_value, "time": optional, "curve" : optional, "delay" : optional} ]
, curve:string = optional
,time:float = optional )
- LinearInterpolation
- QuadraticEaseIn
- QuadraticEaseOut
- QuadraticEaseInOut
- CubicEaseIn
- CubicEaseOut
- CubicEaseInOut
- QuarticEaseIn
- QuarticEaseOut
- QuarticEaseInOut
- QuinticEaseIn
- QuinticEaseOut
- SineEaseIn
- SineEaseOut
- SineEaseInOut
- CircularEaseIn
- CircularEaseOut
- CircularEaseInOut
- ExponentialEaseIn
- ExponentialEaseOut
- ExponentialEaseInOut
- ElasticEaseIn
- ElasticEaseOut
- ElasticEaseInOut
- BackEaseIn
- BackEaseOut
- BackEaseInOut
- BounceEaseIn
- BounceEaseOut
- BounceEaseInOut
To stop a specific tween, call the StopFade(target_parameter) or, top stop all tweens, the StopAllFades() method.