An easing function is a mathematical rule that describes how change occurs over time. In practice, it generally is used to control things such as opacity or positioning, such that something may slowly or rapidly fade in/out or bounce into view.
RPG Architect supports many easing functions that can be used with Transitions, user interfaces, commands, and more. These easing functions include simple linear to complex multi-parametric calculations.
Note: A user interface may use a bounce easing function to fall into place with a gentle recoil on land.
Note: A screen transition may leverage an exponential easing function to gradually, and then sharply, adjust how quick a fade-in occurs.
Bounce is an elastic change that will be influenced by gravity and elasticity, while performing a number of bounces, emulating a bouncing ball.
| Name | Explanation | Type |
|---|---|---|
| Bounces | The number of bounces. | Number |
| Elasticity | The elasticity in each bounce. | Number |
| Gravity | The gravity effecting the bounce. | Number |
Circular is a change that occurs by accelerating, decelerating, or a combination of the two, emulating the rotational velocity of a ball.
| Name | Explanation | Type |
|---|---|---|
| Mode | The mode for the function. | Circular Easing Mode |
| Name | Explanation |
|---|---|
| In | Easing in. |
| Out | Easing out. |
| In and Out | Easing in and out. |
Elastic is an elastic change that will be influenced by amplitude and frequency, emulating a spring that compresses and expands.
| Name | Explanation | Type |
|---|---|---|
| Amplitude | The amplitude of the spring. | Number |
| Frequency | The frequency of the spring. | Number |
Exponential is a linear change that will be influenced by an exponent.
| Name | Explanation | Type |
|---|---|---|
| Exponent | The exponent. | Number |
Instant occurs instantly and does not change.
Linear is a change that remains constant from beginning to end.
Sinusoidal is a change that occurs by accelerating, decelerating, or a combination of the two, emulating the natural feel of a wave.
| Name | Explanation | Type |
|---|---|---|
| Mode | The mode for the function. | Sine Easing Mode |
| Name | Explanation |
|---|---|
| In | Easing in. |
| Out | Easing out. |
| In and Out | Easing in and out. |