Go 0.4.1 + HydroTween

Check the most recent Go post for updates

It’s still in it’s infancy, but I’ve made some progress with HydoTween after working with Moses on some different direction with Go over the weekend. During the R&D process with him, I took a little of what we did and merged it into HydroTween. Because Go is still very new and still evolving, it’s very likely that HydroTween will evolve quickly as well. I haven’t fully tested multiple targets in an array yet, but on individual tweens I’ve been able to add a number of tweenable features. Also with the help of Grant Skinner’s ColorMatrix class, I’ve added image tweening capability.

Here’s an example of using HydroTween. Should be somehwat familiar to Fuse/Zigo users:

HydroTween.go(mc,
                {
                        x:400,
                        y:150,
                        scaleX:.6,
                        scaleY:.6,
                        _contrast:50,
                        _saturation:50,
                        DropShadow_strength:1,
                        DropShadow_distance:16,
                        rotation:360,
                        start_alpha:.5,
                        alpha:1,
                        scaleX:5,
                        scaleY:5
                       
                }, 2, 0, Elastic.easeOut, null, null, null, 2, Elastic.easeOut);

Here’s the current list of tweenable items in addition to the basic props (x,y,alpha, etc). This is still in beta so lemme know if there are problems.

“Bevel_angle”,
“Bevel_blurX”,
“Bevel_blurY”,
“Bevel_color”,
“Bevel_distance”,
“Bevel_highlightAlpha”,
“Bevel_highlightColor”,
“Bevel_quality”,
“Bevel_shadowAlpha”,
“Bevel_shadowColor”,
“Bevel_strength”,

“Blur_blurX”,
“Blur_blurY”,
“Blur_quality”,

“DropShadow_alpha”,
“DropShadow_angle”,
“DropShadow_blurX”,
“DropShadow_blurY”,
“DropShadow_color”,
“DropShadow_distance”,
“DropShadow_quality”,
“DropShadow_strength”,

“Glow_alpha”,
“Glow_blurX”,
“Glow_blurY”,
“Glow_color”,
“Glow_quality”,
“Glow_strength”

“Sound_volume”,
“Sound_pan”

“_brightness”,
“_contrast”,
“_saturation”,
“_hue”

I will probably change the sound tweening keys at some point, but you get the idea:)

Next on the list are start props, or what Moses and I discussed as tween “const” variables. Items that are params but aren’t necessarily tweenable. Such as quality, filter colors in some instances, etc.

Also I’ve been out of the Papervision3D loop since xmas, but I’m looking to jump back onto that. I’ll have to see if the the guys have made progress on tweening DisplayObject3D with the new version yet.

Go has been progressing quickly as of late. I will begin to post my progress here as well as add HydroTween to the svn at some point.

Click here to go to Go, and be sure to sign up for the mailing list!


HydroTween 0.4.4 Source and Example

6 Responses to “Go 0.4.1 + HydroTween”

  1. freemind Says:

    excellent! :D
    would be even better if you could post a link to the current version ;)

    you rock!!!
    henrik

  2. djdonovan Says:

    Thanks man.. :) Moses deserves most of the credit here.

    I’m not sure if the latest version has been posted as a download yet, but you can get the code from the SVN. I’ve included the 0.4.1 core in my example, but be sure to download the latest and greatest.

    http://code.google.com/p/goasap/

  3. A Says:

    nice work, what about the possibility of tweening the graphics.lineTo and graphics.curveTo?

  4. djdonovan Says:

    Either my source didn’t get posted, or I totally forgot to add it LOL

  5. djdonovan Says:

    I will try to start getting graphics support in for my next rev.

  6. djdonovan Says:

    Made updates to the source. Check the most recent Go post:) More to come…

Leave a Reply