Behavior : EaseTween Mod

Author:Yeremia AI (lunarray)

Download

Properties

Active on start

  • Enable the behavior at the beginning of the layout.
    • Options : ["No","Yes"]

Tweened Property

  • Select what property of the object to modify.
    • Options : ["Position","Size(Ratio)","Width","Height","Angle","Opacity","Value","Size(Pixel)"]

Function

  • Select the kind of easing function used to calculate the movement.
    • Options : ["Linear","EaseInQuad","EaseOutQuad","EaseInOutQuad","EaseInCubic","EaseOutCubic","EaseInOutCubic","EaseInQuart","EaseOutQuart","EaseInOutQuart","EaseInQuint","EaseOutQuint","EaseInOutQuint","EaseInCircle","EaseOutCircle","EaseInOutCircle","EaseInBack","EaseOutBack","EaseInOutBack","EaseInElastic","EaseOutElastic","EaseInOutElastic","EaseInBounce","EaseOutBounce","EaseInOutBounce","EaseInSmoothstep","EaseOutSmoothstep","EaseInOutSmoothstep"]

Initial

  • Initial position of the tweened object, 'current' will use current object position, angle, size, etc.

Target

  • Tween target relative to current position, angle, size, etc

Duration

  • Duration of tween in seconds.

Wait

  • Wait period before doing tween

Playback Mode

  • Control the playback of the tween after finish
    • Options : ["Play Once","Repeat","Ping Pong","Play once and destroy","Loop","Ping Pong Stop","Play and stop"]

Value

  • If you are tweening value, then this will help you set the initial value

Coordinate Mode

  • Absolute or relative coordinate
    • Options : ["Absolute","Relative"]

Force Initial on start

  • Set the initial to target's property on the beginning of the layout.
    • Options : ["No","Yes"]

Tween group

  • Set the tween group name. Object with same tween family group progress is shared and can be manipulated using group actions.

Repeat count

  • Repeat count, 0 is continue.

Actions

Alias

Action:Set alias of easing function

  • Set the alias of easing function.
    • Alias ( string ) : Alias of easing function.
    • Function ( Combo ) : Select the easing function to apply.
      • Options : ["Linear","EaseInQuad","EaseOutQuad","EaseInOutQuad","EaseInCubic","EaseOutCubic","EaseInOutCubic","EaseInQuart","EaseOutQuart","EaseInOutQuart","EaseInQuint","EaseOutQuint","EaseInOutQuint","EaseInCircle","EaseOutCircle","EaseInOutCircle","EaseInBack","EaseOutBack","EaseInOutBack","EaseInElastic","EaseOutElastic","EaseInOutElastic","EaseInBounce","EaseOutBounce","EaseInOutBounce","EaseInSmoothstep","EaseOutSmoothstep","EaseInOutSmoothstep"]

Action:Parameter set

  • Set all parameter at once.
    • Tweened property ( Combo ) : Select the tweened property to.
      • Options : ["Position","Size (Ratio)","Width","Height","Angle","Opacity","Value","Size (Pixel)"]
    • Playback Mode ( Combo ) : Set the playback mode of the tween.
      • Options : ["Play Once","Repeat","Ping Pong","Play once and destroy","Loop","Ping Pong Stop","Play and Stop"]
    • Function ( string ) : The easing function to apply by alias.
    • Initial ( string ) : Initial value of position, angle, or whatever to tween from (for position it is x,y).
    • Target ( string ) : Target value of position, angle, or whatever to tween to (for position it is x,y).
    • Duration ( number ) : The time in seconds for the duration of the tween.
    • Wait ( string ) : The time in seconds to wait before and after tweening.
    • Mode ( Combo ) : Select the coordinate mode.
      • Options : ["Absolute","Relative"]

Group

Action:Group Start

  • Start the group tween.
    • Force Mode ( Combo ) : Set wether to force start or not.
      • Options : ["Start","Force Start"]
    • Group ( string ) : Group to start, set to empty for all group in SOL

Action:Group Stop

  • Stop the group tween.
    • Stop Mode ( Combo ) : Set wether to stop at the beginning, current position or tween target.
      • Options : ["Stop at tween target","Stop at current position","Stop at tween start"]
    • Group ( string ) : Group to stop, set to empty for all group in all selected objects

Action:Group Reverse

  • Reverse the group tween.
    • Force Mode ( Combo ) : Set wether to force start or not.
      • Options : ["Reverse","Force Reverse"]
    • Reverse Mode ( Combo ) : Set the reverse mode.
      • Options : ["Reverse","Rewind"]
    • Group ( string ) : Group to reverse, set to empty for all group in SOL

Parameter

Action:Set duration

  • Set the time in seconds for the duration of the tween.
    • Duration ( number ) : The time in seconds for the duration of the tween.

Action:Set wait

  • Set the time in seconds to wait before and after tweening.
    • Wait ( string ) : The time in seconds to wait before and after tweening.

Action:Set initial

  • Set the initial value of the tween.
    • Initial ( string ) : Initial value of position, angle, or whatever to tween from (for position it is x,y).

Action:Set target

  • Set the target value of the tween.
    • Target ( string ) : Target value of position, angle, or whatever to tween to (for position it is x,y).

Action:Set value

  • Set the current/initial value of a value tweening.
    • Value ( number ) : Set the tweened value for value tweening

Action:Set tweened property

  • Set the type of tweened property.
    • Tweened property ( Combo ) : Select the tweened property to.
      • Options : ["Position","Size (Ratio)","Width","Height","Angle","Opacity","Value","Size (Pixel)"]

Action:Set easing

  • Set the easing function used to calculate movement.
    • Function ( Combo ) : Select the easing function to apply.
      • Options : ["Linear","EaseInQuad","EaseOutQuad","EaseInOutQuad","EaseInCubic","EaseOutCubic","EaseInOutCubic","EaseInQuart","EaseOutQuart","EaseInOutQuart","EaseInQuint","EaseOutQuint","EaseInOutQuint","EaseInCircle","EaseOutCircle","EaseInOutCircle","EaseInBack","EaseOutBack","EaseInOutBack","EaseInElastic","EaseOutElastic","EaseInOutElastic","EaseInBounce","EaseOutBounce","EaseInOutBounce","EaseInSmoothstep","EaseOutSmoothstep","EaseInOutSmoothstep"]

Action:Playback Mode

  • Setting playback mode of the tween.
    • Playback Mode ( Combo ) : Set the playback mode of the tween.
      • Options : ["Play Once","Repeat","Ping Pong","Play once and destroy","Loop","Ping Pong Stop","Play and Stop"]

Action:Set initial X

  • Set the initial x for the tween.
    • Initial X ( number ) : The initial X of the tween

Action:Set initial Y

  • Set the initial y for the tween.
    • Initial Y ( number ) : The initial Y of the tween

Action:Set target X

  • Set the target x for the tween.
    • Target X ( number ) : The target X of the tween

Action:Set target Y

  • Set the target y for the tween.
    • Target Y ( number ) : The target Y of the tween

Action:Parameter set

  • Set all parameter at once.
    • Tweened property ( Combo ) : Select the tweened property to.
      • Options : ["Position","Size (Ratio)","Width","Height","Angle","Opacity","Value","Size (Pixel)"]
    • Playback Mode ( Combo ) : Set the playback mode of the tween.
      • Options : ["Play Once","Repeat","Ping Pong","Play once and destroy","Loop","Ping Pong Stop","Play and Stop"]
    • Function ( Combo ) : Select the easing function to apply.
      • Options : ["Linear","EaseInQuad","EaseOutQuad","EaseInOutQuad","EaseInCubic","EaseOutCubic","EaseInOutCubic","EaseInQuart","EaseOutQuart","EaseInOutQuart","EaseInQuint","EaseOutQuint","EaseInOutQuint","EaseInCircle","EaseOutCircle","EaseInOutCircle","EaseInBack","EaseOutBack","EaseInOutBack","EaseInElastic","EaseOutElastic","EaseInOutElastic","EaseInBounce","EaseOutBounce","EaseInOutBounce","EaseInSmoothstep","EaseOutSmoothstep","EaseInOutSmoothstep"]
    • Initial ( string ) : Initial value of position, angle, or whatever to tween from (for position it is x,y).
    • Target ( string ) : Target value of position, angle, or whatever to tween to (for position it is x,y).
    • Duration ( number ) : The time in seconds for the duration of the tween.
    • Wait ( string ) : The time in seconds to wait before and after tweening.
    • Mode ( Combo ) : Select the coordinate mode.
      • Options : ["Absolute","Relative"]

Action:Set target object

  • Set the target object of the tween.
    • Set target object ( object ) : Choose the object to follow as target to.

Action:Set repeat count

  • Set repeat count of the tween.
    • Repeat count ( number ) : Repeat count, 0 is continue.

Playback control

Action:Start

  • Start the tween.

Action:Reverse

  • Reverse the tween.
    • Reverse Mode ( Combo ) : Set the reverse mode.
      • Options : ["Reverse","Rewind"]

Action:Pause

  • Pause the tween. (Same as set active false)

Action:Resume

  • Resume the tween. (Same as set active true)

Action:Stop

  • Stop the tween.
    • Stop Mode ( Combo ) : Set wether to stop at the beginning, current position or tween target.
      • Options : ["Stop at tween target","Stop at current position","Stop at tween start"]

Action:Force Start

  • Force start the tween.

Action:Force Reverse

  • Force reverse the tween.

Expressions

Expression:Progress

  • Return the current progress of the tween as a number from 0 to 1.

Expression:ProgressTime

  • Return the current tween progress in secs.

Expression:Target

  • Return the tween target value.

Expression:Initiating

  • Return the tween initiating wait.

Expression:Duration

  • Return the tween duration.

Expression:Cooldown

  • Return the tween cooldown wait.

Expression:Value

  • Return the tweened value.

Expression:isPaused

  • Return the tween status, is paused or not.

Expression:Group

  • Return the tween group name.

Conditions

Condition:Is active

  • True if the movement is currently active.

Condition:Compare progress

  • Compare the current progress of the tween process.
    • Comparison ( cmp ) : Select how to compare the tweening progress.
    • Value ( number ) : Value to compare the progress to.

Condition:On start

  • Triggered when tween starts.

Condition:On wait end

  • Triggered when tween finished initial wait and is starting.

Condition:On tween end

  • Triggered when the tween finished and is entering cooldown state.

Condition:On cooldown end

  • Triggered when tween end playing and is cooldown.

Condition:Compare group progress

  • Compare the slowest in tween group progress to a value .
    • Comparison ( cmp ) : Select how to compare the group tweening progress.
    • Value ( number ) : Value to compare the progress to.

Finish

Condition:On count end

  • Triggered when the tween counting finished and is entering cooldown state.