Menu

Home

Charles Patterson

Welcome to Twillex

Tweening for the Torque engine

Definition

Twillex provides animation, or "tweening", between the current state of an object and a given state. The "state" can be represented by any combination of fields, such as position, blendColor, size, rotation, text, or your own custom fields like myField. There are short-cuts for fields of the common scene object. specifically, x and y for position, sx and sy for size, and r, g, b, and a for color.

There are many interpolation methods to provide "easing" to your Tweens. Easing is the animation technique of speeding up at the beginning and/or slowing down at the end, called easing in and out, respectively. Easing options include linear, quadratic, "bounce," "elastic," and other common ones.

Common Documentation

Project Admins: