[Golist] easing equations, Go and Hydrotween
John Grden
neoriley at gmail.com
Fri Jun 6 08:23:03 PDT 2008
I included it in Go3D cause I wanted something out of the box ;) I just
borrowed Tweeners's Equations class and changed it to Easing and took out
alll of Tweener's extra stuff.
On Fri, Jun 6, 2008 at 10:17 AM, Moses Gunesch <moses at goasap.org> wrote:
> To use Hydrotween with easing equations such as Quadratic.easeOut, I need
> the fl.motion.easing right?
>
> Is there any way to include easing equations in Hydrotween or Go so I get
> rid of the package? I mean "include" by "register" them and use a string
> like in Fuse "easeOutQuad" or something like that?
>
>
> One of the things I would *really* like Adobe to standardize is just to
> make one convenient package for easing equations that would be used by Flash
> & Flex alike. It's annoying that they are scattered in 3 or 4 different
> places, it makes it really hard to port things around freely.
>
> I don't want to include easings with Go; that would just add to Adobe's
> redundancies on that front.
>
> You can do this a number of ways:
> Use a Flash easing package like fl.motion.easing when working in Flash
> or mx.effects.easing when working in Flex;
> or build a new easing package of your own (copy one of those and change the
> package path in each file);
> or port one over from another system like Tweener, as Grden did.
>
> Personally, in general I like leaving packages separate and using the
> defaults for Flash or Flex, not combining or porting. I find it more
> convenient to set al classpaths/ libraries one time (which is not even
> necessary for easings since they are in default directories), than to bother
> doing the combining and then trying to maintain one big hybrid directory.
> The only time this is inconvenient is when migrating code between Flash &
> Flex, so if you do that all the time you might consider one of the
> alternatives.
>
> *Or maybe I am wrong on this,* and I should create an org.goasap.easing
> package since Go is attempting to be that common hub location for standard
> animation elements. That logically makes sense; it just also goes against my
> general bias that it's silly for every animation bundle in the world to have
> another copy of the same functions. I'm torn but tend to lean toward staying
> lean, instead of doing something that adds to a what I see as a general
> clutter problem.
>
> - m
>
>
> On Jun 6, 2008, at 10:35 AM, donovan at hydrotik.com wrote:
>
> Yes you are correct.
>
> I have considered doing that, however the drawback to that is added file
> size if all of the equations are imported.
>
> Personally I am 50/50 on it. However because it is so easy to add an
> equation for a Tween without HydroTween containing imports to all the
> equations, I think that it's an opportunity to cut a bit of the file size.
>
> I also think it fits in line with Moses' desire for Go to be adopted as an
> Adobe standard.
>
> This is one thing I would do based on a consensus, if there is strong
> desire for it, I'll definitely change it to strings.
>
>
> On 6/6/08 7:15 AM, "Romuald Quantin" <romuald at thoughtomatic.co.uk> wrote:
>
> Other question.
>
> To use Hydrotween with easing equations such as Quadratic.easeOut, I need
> the fl.motion.easing right?
>
> Is there any way to include easing equations in Hydrotween or Go so I get
> rid of the package? I mean "include" by "register" them and use a string
> like in Fuse "easeOutQuad" or something like that?
>
> If not, is that a future feature?
>
> Romu
>
>
> ------------------------------
> _______________________________________________
> GoList mailing list
> GoList at goasap.org
> http://goasap.org/mailman/listinfo/golist_goasap.org
>
>
> _______________________________________________
> GoList mailing list
> GoList at goasap.org
> http://goasap.org/mailman/listinfo/golist_goasap.org
>
>
>
> _______________________________________________
> GoList mailing list
> GoList at goasap.org
> http://goasap.org/mailman/listinfo/golist_goasap.org
>
>
--
[ JPG ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://goasap.org/pipermail/golist_goasap.org/attachments/20080606/5462c9b4/attachment.html
More information about the GoList
mailing list