Easing

From GiderosMobile
Revision as of 04:37, 26 March 2020 by MoKaLux (talk | contribs)

Supported platforms: Platform android.pngPlatform ios.pngPlatform pc.pngPlatform mac.pngPlatform winrt.pngPlatform win32.png
Available since: 2020.2

Description

Easing functions to help tween between states.

require "easing"

Example

A table holding a few easings

require "easing"
-- EASINGS
easings = {
	easing.inBack, -- 1
	easing.outBack, -- 2
	easing.inOutBack, -- 3
	easing.inBounce, -- 4
	easing.outBounce, -- 5
}

Methods

Events

Constants

easing.inBack
easing.outBack
easing.inOutBack
easing.inBounce
easing.outBounce
easing.inOutBounce
easing.inCircular
easing.outCircular
easing.inOutCircular
easing.inCubic
easing.outCubic
easing.inOutCubic
easing.inElastic
easing.outElastic
easing.inOutElastic
easing.inExponential
easing.outExponential
easing.inOutExponential
easing.linear
easing.inQuadratic
easing.outQuadratic
easing.inOutQuadratic
easing.inQuartic
easing.outQuartic
easing.inOutQuartic
easing.inQuintic
easing.outQuintic
easing.inOutQuintic
easing.inSine
easing.outSine
easing.inOutSine