Actually, I didn`t dig much into the new version... the informations about the name and class changes sounded like a lot of work while not giving much profit. I already have half-finished project with a lot of tweens, and changing them would require time, while after fixing that bug I`m completly happy with what version 5.2 offers. Gr8 work on that library btw., if I would ever start another project I will definitely use the newest version of Tween Engine

I have a little question: How can I get the number of active Tweens? (I'm using newest version, 6.2).

In 6.1, I used the size() method in my TweenManager instance (but it doesn't exist anymore in 6.2). I see that theres is a Tween.getPoolSize(), but that gives me the size of the pool, not the active Tweens (as they end or get killed at some point). I mostly ask this for debugging purposes.

I added size(), getRunningTweensCount(), getRunningTimelinesCount() and getObjects() to TweenManager. Pull from the trunk to update to latest version (a ant build script is provided).Note that size() now only returns the number of managed objects, not including tweens and timelines nested inside top-level timelines. Instead, use getRunningTweensCount() and getRunningTimelinesCount() to have access to nested objects count.

I should probably update to the latest version as well. I think I'm running into a bug in Tween.kill(), or I'm not doing something right. I just noticed this last night, so haven't had much time to look into it. But the visual effect is that if I kill a flying enemy, sometimes it floats in space, spinning round and round, instead of falling to the ground. It looks quite cute

Change "return 2" into "return 3" in your "getValues() ... case POSITION_XY" code snippet, else the engine will only compute new values for the first 2 floats that are in the returnValues array

Also, keep in mind that "targetRelative" call adds the given values to the current ones. Therefore, you're adding 0 to the current opacity. That won't change anything. Use -1 as the relative target for the opacity if you really want to use targetRelative

The getUserData() method lets you get a custom object you can attach to any tween or timeline with setUserData(). It's often used to pass arguments to the callback. If you did not call setUserData, then getUserData returns null