Easing Script
This is a GDScript port of Robert Penner's easing equations for Godot Engine. It provides a variety of easing functions to create smooth animations and transitions in your games.
https://github.com/impmja/godot-easingGodot Easing Script: Implement Robert Penner's Equations
This script is a GDScript implementation of Robert Penner's easing equations, widely used for creating smooth and natural-looking animations in games and other applications. Easing functions control the rate of change of a parameter over time, allowing you to create effects like accelerating, decelerating, or bouncing motions.
Key Features:
- GDScript Implementation: Specifically designed for use within the Godot Engine.
- Robert Penner's Equations: Includes a comprehensive set of Penner's easing functions, covering various easing styles (linear, quadratic, cubic, etc.).
- Easy to Use: Simple integration into your Godot projects with clear usage examples.
- Customizable: Offers options to modify the behavior of certain easing functions, such as amplitude and period for elastic easing.
Usage
The script provides various easing functions accessible via Easing.FunctionName.EaseType(t, b, c, d)
. Where:
-
t
: current time (0 to duration) -
b
: beginning value -
c
: change in value -
d
: duration