Repository navigation
Lua Script API: Tweens & Timers Functions
Does an object tween on the x position value.
If the tween is finished the tag parameter will be called at onTimerCompleted() function, this rule is applied to all tag parameters.
-
tag- The tween tag name to be used. -
vars- The object tag name to be used. -
value- The new state value to be set. -
duration- The duration length of the tween to end. -
ease- The type of ease to be used, Example:linear,sineIn,bounceOut, etc.
If you want more ease examples, click here to see the list of Tween Eases.
Example: doTweenX('boyfriendTweeny', 'boyfriend.scale', 1000, 3, 'sineIn') this will tween the scale at the x axis value of boyfriend from the hit game Friday Night Funkin', same works with doTweenY() if you even try other tweens it will not work.
Does an object tween on the y position value. This function acts the same as doTweenX() function, just to let you know dummy.
Also I'm not repeating parameters because it looks disgusting to my eyes maybe, even your eyes. Unless there something different about them.
Does an object tween on the angle value.
Does an object tween on the opacity value.
Does an object tween on the camera zoom value.
-
vars- The camera state to be used can be either:camGame,camHUD, orcamOther.
Does an object tween on the color value.
-
targetColor- The new hex color value to be set.
Does a note & strum tween on the x position value.
-
tag- The tween tag name to be used. -
note- The member ID of the note to be used, Opponent:0,1,2,3and Boyfriend:4,5,6,7. -
value- The new state value to be set. -
duration- The duration length of the tween to end. -
ease- The type of ease to be used, Example:linear,sineIn,bounceOut, etc.
Does a note & strum tween on the y position value.
Does a note & strum tween on the angle value.
Does a note & strum tween on the alpha value.
Does a note & strum tween on the receptor direction.
Creates a timer.
-
tag- The timer tag name to be used; Will be called atonTimerCompleted()function. -
time- The duration length of the timer to end. -
loops- How many loops will the timer execute.
Cancels the timer that is running.
-
tag- The timer tag name to be used.
Cancels the tween that is running.
-
tag- The tween tag name to be used.
Is the page in some way inaccurate? an error, a typo, or outdated data? To report it, use the "Issue Tab". Or do you wish to include a new function or add new information? use the "Pull Request Tab". Help is always appreciated!
- Event Callbacks
- Custom Sprite
- Custom Text
- Object Functions
- General Functions
- Scripting & File Functions
- Game Input Control Functions
- Language Translation
- HScript Functions
- Custom Substates
- Custom Shaders
- Deprecated & Removed Functions
- Sound & Music Functions
- Tweens & Timers Functions
- Reflection Functions
- Variables