Skip to main content

Tweens

Controls:
SPACE or Start / Menu / OPTIONS button to swap pages.


This example features a sprite moving from left to right using different tween ease functions.

MD Engine includes a tweening system, it can be used to interpolate numeric values over time.

This is the list of Easing functions you can choose from:

  • quadIn
  • quadOut
  • cubeIn
  • cubeOut
  • cubeInOut
  • quartIn
  • quartOut
  • quartInOut
  • quintIn
  • quintOut
  • quintInOut
  • sineIn
  • sineOut
  • sineInOut
  • bounceIn
  • bounceOut
  • bounceInOut
  • circIn
  • circOut
  • circInOut
  • expoIn
  • expoOut
  • expoInOut
  • backIn
  • backOut
  • backInOut
  • elasticIn
  • elasticOut
  • elasticInOut