Skip to main content

Module tween

Module tween 

Source
Expand description

Tweening and easing functions.

Unlike macroquad which has no tweening support, game-gem provides:

  • 15+ easing functions (standard + elastic + bounce + back)
  • Tween struct — animate any Lerp type over time
  • TweenManager — run multiple tweens in parallel
  • Chaining — sequence multiple tweens on the same target
  • Callback supporton_complete, on_update

Structs§

Tween
A tween that interpolates a value from start to end over duration.
TweenManager
Manages multiple tweens simultaneously.

Enums§

Ease
Easing functions for tween interpolation.
TweenStatus
Status of a tween.