Git Product home page Git Product logo

gtween's Introduction

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.

gtween's People

Contributors

gingeegames avatar scianid avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.