Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GTween Introduction

Gingee's GTween library is an open-source lightweight tweenning library for Haxe using openfl. It helps to quickly and effortlessly create rich tweens of any object with numerous parameters over time. it can be used with any type of object with any type of public field its value is a Float / UInt / Int.

GTween supports modifiers and can handle looping and easing functions.

Languages

Haxe utilizing openfl and lime. This code can be translated using openfl and Haxe directly to java, c#, html5 with js and many more.

For additional information on Haxe please refer to http://www.haxe.org/ openfl: http://www.openfl.org/

Demo

http://gingeeapps.info/gtween/

License

GTween is free, open-source software under the supplied license.

Contact

web: http://www.gingee.com

email: support@gingeegames

Usage

Usage example I:

GTween.tweenTo(obj, 1.5, {x:500});

Usage example II:

GTween.tweenFrom(obj, 1.5, {points:500, onComplete:completeFunc, onUpdate:updateFunc, ease:Linear.easeIn, loop:GTween.OSCILLATE});

Usage example III:

GTween.tweenTo(obj, .5, {rotation:500, loop:GTween.OSCILLATE, ease:Bounce.easeIn, onStart:onStart, onComplete:onComplete, delay:.1, onCompleteParams:[1, 15], numLoops:3});

Additional examples can be found under examples package.

About

Gingee's GTween library is an open-source lightweight tweening library for Haxe using openfl.

Resources

Stars

14 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages