Miscellaneous #
Written by:
OmgRod
OwnerLua Trigger has some features that couldn't be properly categorised in these docs, so I made a page for all sorts of useful, smaller features you may want to learn about.
Easing Type #
Used in object manipulation, easing type is how you want something to navigate. In GD, there are 18 easing types (or 19 if you also count None):
| Name | Enum Name (C++) | Integer Value (Lua) |
|---|---|---|
| None | None | 0 |
| Ease In-Out | EaseInOut | 1 |
| Ease In | EaseIn | 2 |
| Ease Out | EaseOut | 3 |
| Elastic In-Out | ElasticInOut | 4 |
| Elastic In | ElasticIn | 5 |
| Elastic Out | ElasticOut | 6 |
| Bounce In-Out | BounceInOut | 7 |
| Bounce In | BounceIn | 8 |
| Bounce Out | BounceOut | 9 |
| Exponential In-Out | ExponentialInOut | 10 |
| Exponential In | ExponentialIn | 11 |
| Exponential Out | ExponentialOut | 12 |
| Sine In-Out | SineInOut | 13 |
| Sine In | SineIn | 14 |
| Sine Out | SineOut | 15 |
| Back In-Out | BackInOut | 16 |
| Back In | BackIn | 17 |
| Back Out | BackOut | 18 |
Easing Rate #
When using an Easing Type other than None (0), the Easing Rate controls the intensity or acceleration curve of the easing animation.
In Geometry Dash, the easing rate acts as a multiplier/exponent for the easing formula:
- Default Value:
2.0(Standard GD easing curve) - Minimum Value:
0.1(Flattens the curve, making movement almost linear) - Higher Values (
> 2.0): Makes the easing effect much more aggressive (e.g., faster acceleration at the start, sharper deceleration at the end).
In functions like Object.move(), easingRate is passed as the 6th parameter (optional, defaults to 2.0):
lua
1-- Move Group 1 by (100, 50) over 1.5s using EaseInOut (1) with an aggressive rate of 4.02Object.move(1, 100, 50, 1.5, 1, 4.0)34-- Standard Move using SineInOut (13) with the default rate (2.0)5Object.move(2, -30, 0, 0.5, 13)
