[Golist] hydrotween + go vs tweener

Romuald Quantin romuald at thoughtomatic.co.uk
Fri Jun 6 04:09:23 PDT 2008


Hi Everyone,

 

First of all, thanks Donovan and Moses to have a look at this issue.

 

It is now working well as Hydrotween and OverlapMonitor have been updated
(VERSION: HydroTween 0.4.9 rev32 (DA/MG REWRITE) / Go 0.4.9)

 

As written in the SVN log:

GoItem.defaultPulseInterval has been set back to ENTER_FRAME.

While 33ms does perform faster on benchmarks with thousands of 

animations, ENTER_FRAME runs much smoother in practical contexts.

 

Just to understand.

 

Donovan told me to set the pulseInterval in Hydrotween to 1, and the result
is a lot smoother.

 

The default pulseInterval value is -1, what does this value mean? I
understood well it is ms, so set to -1 bypass it to use another value? maybe
a frame-based value? or maybe -1 means the pulse will be 33ms as describe in
the SVN log?

 

Romu

 

 

 

  _____  

From: golist-bounces at goasap.org [mailto:golist-bounces at goasap.org] On Behalf
Of Romuald Quantin
Sent: 29 May 2008 15:06
To: GoList at goasap.org
Subject: [Golist] hydrotween + go vs tweener

 

Hi Guys,

 

I made a small test (file included). I've already posted it but nobody
answered, I renew my test with the last version of Tweener, Go and
Hydrotween.

 

I'm working on a project and it will use a tweener for the animations, I
won't get stuck with a package, the users will be able to register the
tweener they want to use, probably TweenLite, Tweener and Go+Hydrotween.

 

To be honest, after seeing the benchmarks and the features, I would like to
mainly use Go, but here's my problem.

 

I made a test to compare the reactivity of the different package. Using
Hydrotween and Tweener I animate a simple plane and a picture with rollover
and rollout, I change the properties brightness, scale and rotate.

 

Test it by opening the index.html, if you rollover the sprites, both will
work as expected, but if you rollover and rollout very quickly several times
to test the "reactivity of the engine", I can see that the Tweener one is a
lot smoother.

 

Here are the questions:

 

1 - Am I doing something wrong in my test?

2 - Can you see what I mean when I say Tweener is smoother?

3 - Is the problem coming from my test?

4 - Is the problem coming from Go?

5 - Is the problem coming from Hydrotween?

6 - Is the problem coming from the easing equation?

7 - is Hydrotween or Go parsing a big array or something that might make it
less smooth when the engine start again the tween?

8 - Can I (or we) solve it?

 

I don't want to shadow Go+Hydrotween at all, I'd like even to use it full
time but I've got to get a good result. Can you please tell me what you
think of that and if there's a solution or if you're going to have a look?

 

Thanks for your time.

 

Romuald

www.soundstep.com <http://www.soundstep.com/> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://goasap.org/pipermail/golist_goasap.org/attachments/20080606/ee8ca59a/attachment.html 


More information about the GoList mailing list