[Tweener] Tweener 1.32.74
Zeh Fernando
zeh at zehfernando.com
Tue May 19 14:42:22 PDT 2009
Oh, and one more thing.
Yesterday I committed a new version of Tweener to the SVN server, 1.32.74.
It replaces 1.31.74 and can be accessed here:
http://code.google.com/p/tweener/source/checkout
The changes are quite small (2 lines of code really) but it's an important
change. It does this:
* Make tween overwriting *optional*, and off by default.
* Add a new "overwrite:" parameter to addTween(). If "true", it overwrites
all tweens on the same property of the same object that overlap with the new
tween.
This breaks some compatibility if you rely on tween overwriting too much,
but I thought it was important to do this change because it's just a much
better performance when creating new tweens, specially on a large number of
tweens. Overall tween update performance is unchanged, but tween creation
time has always been the biggest hog in Tweener and it may reflect on final
average framerates.
Here's a quick comparison graph:
http://imagebin.org/49609
(The graph is for the AS3 version, but this change applies to all AS2 FL7,
AS2 and AS3 versions of Tweener)
Why have I made this change? Well, this is gonna be the last update to
Tweener, so I wanted to make sure it would be remembered in a slightly
better state. Because, while it works fine, I think its design has grown
stale and many of the paradigms adopted both on its API and its internal
design are outdated, and this is not something you just 'change'. So it'll
continue to work, more so in the new version, so if it works for you it's
great, but this is just a quick notice to let people know that today there
are better options out there (specially in regards to performance with large
amounts of tweens) and Tweener will soon be oficially an ended project.
Moving from Tweener to any of the popular tweening projects out there should
be easy though, it's at worst a small syntax change, and at best, just the
same thing with a different name.
I'll have a much bigger, in-depth postmortem analysis of the project
published in a few weeks (then I'll also make 1.32.74 the "stable" version
on the Google Code website). I'll also talk about what I'll do in the
future, but I can asure you there's "new version of tweener", "Tweener 2",
"TweenerLite" or anything coming. There is a project done internally at
Firstborn I'll be properly contributing to once I finally move there, and I
hope I'll be able to talk a bit more about it in a few weeks.
So, for now, thank you very much for everything.
Zeh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20090519/60d5257c/attachment.htm>
More information about the Tweener
mailing list