iTween animation system.

Hey everybody!

Just wanted to spread the word further about the iTween animation framework. We now have a solid JavaScript and C# version and recently added bezier movement. This framework is very similar to the approach Tweener and similar tweeing engines take on the Flash side of things to make movement easy and I hope everyone finds the system approachable.

It’s free to use, so knock yourselves out and I hope it saves everyone tons of time and helps you at least unify (pun intended) your abilities between Flash and Unity.

Share all of your concerns, bugs, and feature requests here: http://forum.unity3d.com/viewtopic.php?t=47351&start=0 and on the support page.

Here’s the JavaScript version: iTween for Unity by Bob Berkebile (pixelplacement)

Here’s the C# version: http://www.insquare.com/itween/

that looks totally interesting
will check it out…

thx !

EDIT:

Download in Firefox 3.6.3 does’nt work here, IE is okay…

You mean you couldn’t download from the support site??

http://www.insquare.com/itween/

the big blue download button in the top right does nothing here in FF

Congrats about this crazy system.
If i knew it before writing my own i would use it.
I’ll take a deep look later on. ^^
Tanks for the sharing.

Works for me (OS X 10.5.8, Firefox 3.5.9).

And well done, iTween looks awesome. :slight_smile:

download works fine here in firefox

Update v1.0.14:

  • Changed punchPosition and shake to use localPosition instead of worldPosition
  • Fixed shake’s callback routine
  • Added “loopType” argument for most methods (check the documentation for which ones now have it) with the ability to set it as “loop” or “pingPong” (there’s issues with the moveToBezier and moveToBezierWorld that I “may” get to)
  • Added new sample project to support page

I was playing today with iTween on the office. Simply amazing and powerful. Tanks for the sharing!
Btw, where is the 1.0.14 update? Cant find it on your web site. :slight_smile:
Cheers,

Thanks man! Did I forget to add the link for 1.0.14? It ‘looks’ like it’s up but I’m in bed on the iPhone. I’ll verify in the morning and I’ll get it up there if it’s not already. P.s. Patrick should have these updates into the C# version soon.

I’ll wait for the C# version. Tanks. :slight_smile:
Keep the hard work!
Cheers,

Cool, should up tomorrow or the next day. :slight_smile:

UPDATE:

*JavaScript version of iTween is now 1.0.15

*I threw together a simple game with source code for everyone on the support site to help show some uses of iTween in an actual project.

*New video on the support site that goes through EVERYTHING that iTween can currently do for you!

http://www.pixelplacement.com/iTween/

Nice work, will you also add a Boo version?

Nope, sorry I don’t know any Boo developers and I don’t think there’s a ton of demand for it… but… if there ends up being a demand I’ll surely get it started so we can offer one.

Update: v 1.0.17

For those who prefer using native data types instead of separating out individual properties (“x”,“y”, etc…) I’ve added a ton of new properties that leverage Vector3 and such - check the documentation for details.

Added “position”:Vector3 to moveTo, moveToWorld, moveFrom, moveFromWorld

Added “amount”:Vector3 to moveBy, moveByWorld

Added “color”:Color to colorTo, colorFrom

Added “scale”:Vector3 to scaleTo, scaleFrom

Added “amount”:Vector3 to scaleBy, scaleAdd

Added “rotation”:Vector3 to rotateTo, rotateFrom

Added “amount”:Vector3 to rotateBy

Added “position”:Vector3 to punchPosition

Added “rotation”:Vector3 to punchRotation

Added “amount”:Vector3 to shake

Examples:

iTween.colorFrom(gameObject,{"color":Color.yellow});
iTween.colorTo(gameObject,{"r":2,"delay":3});
iTween.moveFrom(gameObject,{"position":Vector3(-1,-1,-1)});
iTween.moveFromWorld(gameObject,{"position":Vector3(-1,-1,-1)});
iTween.moveTo(gameObject,{"x":2,"delay":2});
iTween.moveTo(gameObject,{"position":Vector3(0,0,0),"delay":4});
iTween.scaleTo(gameObject,{"scale":Vector3(2,2,2)});
iTween.scaleFrom(gameObject,{"scale":Vector3(2,2,2)});
iTween.moveByWorld(gameObject,{"amount":Vector3(2,2,2)});
iTween.rotateTo(gameObject,{"rotation":Vector3(12,12,12)});
iTween.rotateFrom(gameObject,{"rotation":Vector3(12,12,12)});
iTween.scaleAdd(gameObject,{"amount":Vector3(2,2,2)});
iTween.scaleBy(gameObject,{"amount":Vector3(2,2,2)});
iTween.rotateBy(gameObject,{"amount":Vector3(.5,0,0)});
iTween.punchPosition(gameObject,{"position":Vector3(1,0,0)});
iTween.punchRotation(gameObject,{"rotation":Vector3(.1,0,0)});
iTween.shake(gameObject,{"amount":Vector3(.2,0,0)});

Any chance of fixing the download link at some point? Blue button in the top left corner for JavaScript errors out on 404.

Well, understandable and water on my mills regarding the languages in Unity but still sad somehow. From a customer point of view i would prefer if all available languages would be supported for situations where you have to use different ones.

Download link is fixed. Sorry.

I hear ya taumel… But remember I’m not getting paid for this :wink:

This is an incredible generous offer!
I would not feel like a “customer” when using this gift; I would more feel like …eugh……mmm…
Grateful?

Regards, Robert