[Golist] HydroTween Updates/Post
Donovan Adams
donovan at hydrotik.com
Wed May 14 07:40:55 PDT 2008
Thanks man! Great Idea. I'll add that in there for the next update
List-Post: <mailto:golist at goasap.org>
List-Help: <mailto:golist-request at goasap.org?subject=help>
X-Rcpt-To: <donovan at hydrotik.com>
X-SmarterMail-Spam: Bayesian Filtering, SPF_None
Fantastic stuff!
Suggestion based on your color reset of -1: you might add a static const for that, like HydroTween.RESET:int = -1, which would make the code easier for people to read within the action objects.
Great job D!
- m
On May 13, 2008, at 10:54 PM, donovan at hydrotik.com wrote: Hey folks. I made a formal post on the latest HydroTween updates with some usage, etc. I also updated the wiki. Trying to get a direct download on the goplayground site, in the meantime you can get the source and example at the bottom of the blog post.
http://blog.hydrotik.com/2008/05/13/go-048jg1-hydrotween-rev30-guide-source-code/
Here are some snippets:
// General/ColorMatrix Tweening!
HydroTween.go(mc, {x:200, color:0xFF0000}, 2, 0, Elastic.easeOut, onCompleteHandler);
// Fuse style sequencing!
var seq1:SequenceCA = HydroTween.sequence(
{target:fusebox, x:320, seconds:5, easing:Quadratic.easeInOut},
{target:fusebox, Blur_blurX:8, Blur_blurY:8, seconds:5, easing:Quadratic.easeInOut},
{target:fusebox, color:0x0000FF, seconds:5, easing:Quadratic.easeInOut},
{target:fusebox, Blur_blurX:0, Blur_blurY:0, seconds:5, easing:Quadratic.easeInOut},
{target:fusebox, x:400, seconds:.5, easing:Quadratic.easeInOut},
{target:fusebox, rotation:270, seconds:.5, easing:Quadratic.easeInOut}
);
seq1.start();
Also I will be at Flashbelt. Maybe we can all Go grab a bit to eat one night! :) sorry I couldn't help myself. _______________________________________________
GoList mailing list
GoList at goasap.org
http://goasap.org/mailman/listinfo/golist_goasap.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://goasap.org/pipermail/golist_goasap.org/attachments/20080514/886db0c3/attachment.html
More information about the GoList
mailing list