I’ve just wrapped up beta 3 of gTween. It’s been a busy few weeks, and is just getting busier with the Korean Game Developer’s Conference, and Adobe MAX around the corner, so it’s not quite as well tested as I’d like, but it seems to be working without problem.
The main feature additions are support for 3D rotation with smartRotation (always rotates in the shortest direction), a rewrite of custom progress points to make them more robust and reliable, the addition of a global defaultEase property, and the ability to globally control what properties will be rounded.
Here’s the full list of beta 3 updates:
- fixed a bug with smart rotation
- added rotationProperties static property to specify properties to apply smartRotation to
- fixed bug with proxy method calls not returning the return value (thanks to Matus Laco)
- added a few semi colons 🙂 (thanks to Matus Laco)
- roundValues renamed to useSnapping
- added snappingProperties static property to specify properties to apply snapping to.
- fixed a bug that could cause setSize to be called twice
- fixed a problem with copyInitProperties firing too many times
- made the data parameter on addProgressPoint optional
- changed removeProgressPoint to accept an optional data parameter
- rewrote the progress point logic, fixing a problem that would prevent progress point events from firing if more than one progress point was passed in a single tick.
- progress points will no longer fire when doing manual positioning, including using position=value, beginning() and end().
- made it so that autoHide only applies while tweening alpha. (thanks to Randy Troppman)
- added a defaultEase static property, which allows you to define the default easing function for all new tweens (thanks to Quentin)
- made linearEase a public static method
- added useSetSize property to allow you to turn off the setSize behaviour if necessary (thanks to jwopitz)
You can read the documentation, and download the latest version of gTween by clicking here.