Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Latest commit

 

History

History
24 lines (18 loc) · 632 Bytes

readme.textile

File metadata and controls

24 lines (18 loc) · 632 Bytes

gtween.js

Parts of the GTween library by Grant Skinner ported to JavaScript from ActionScript by Josh Tynjala.

Usage

If you’re familiar with GTween in ActionScript, mostly everything should be as you remember.

new GTween(target, duration,
{
	targetProp1: value1,
	targetProp2: value2
},
{
	tweenProp1: value3,
	tweenProp2: value4
});

Unsupported features

The following features from the original GTween are not included in this port. They may be added in the future.

  • GTweenTimeline
  • Plugins
  • Easing functions are not included (but can be used)