Icon

TweenDreams

TheWzzard

You must be logged in to obtain assets

Description

TweenDreams is a large collection of scripts that will allow you to easily add tweens and easing functions to your games.

Try The Demo Application for Windows here.

Features

  • Modeled after the style of GML functions
  • Pre-built one-shot set-it-and-forget-it functions for movement, scaling, rotation, color blend, alpha blend, path playback, and direction shifts
  • Pre-built one-shot set-it-and-forget-it functions to handle tweening any variable including colors
  • Frame based timing, millisecond based timing, and frame-rate adjusted frame based timing
  • Flexible event triggering on tween completion
  • Simple to use randomized delay
  • Multiple options for pausing
  • A lerp() style function that can interpolate values using the easing equations called twerp()
  • 40 different easing equations, including in, out, in - out, and out - in equations
  • Functions to access and modify tween variables as they are running
  • Organized to simplify removing unused scripts

Summary

The core of this extension is a collection of easing equations. These equations perform non-linear interpolations that produce a variety of curves. The remaining scripts are wrapper functions to cover many of the common uses for easing.

Animation

Using an easing function for animation is often called tweening. The Built-In Variable tween functions will handle many animations such as movement, scaling, and rotation. The Custom Variable tween functions can be used to handle more complex tasks such as changing variables used in advanced draw functions.

twerp()

There are many other uses for easing functions that do not need to update every frame. The twerp() function can be used like lerp() to interpolate between two values. This can be used in RPG stat systems, scaling damage calculations, scaling motion trails, and in many other situations.

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS1 - Version 1.0.4. Published September 14, 2015

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait