<HTML>
<HEAD>
<TITLE>Re: [Golist] hydrotween + go vs tweener</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>-1 is for setting to ENTER_FRAME<BR>
<BR>
Any positive integer will set it to Timer based with millesecond values<BR>
<BR>
<BR>
On 6/6/08 7:09 AM, &quot;Romuald Quantin&quot; &lt;romuald@thoughtomatic.co.uk&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT COLOR="#000080"><FONT SIZE="4"><FONT FACE="Arial"><SPAN STYLE='font-size:13.0px'>Hi Everyone,<BR>
&nbsp;<BR>
First of all, thanks Donovan and Moses to have a look at this issue.<BR>
&nbsp;<BR>
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)<BR>
&nbsp;<BR>
As written in the SVN log:<BR>
</SPAN></FONT></FONT></FONT><FONT SIZE="2"><FONT FACE="Courier New"><SPAN STYLE='font-size:10.0px'>GoItem.defaultPulseInterval has been set back to ENTER_FRAME.<BR>
While 33ms does perform faster on benchmarks with thousands of <BR>
animations, ENTER_FRAME runs much smoother in practical contexts.<BR>
</SPAN></FONT></FONT><FONT COLOR="#000080"><FONT SIZE="4"><FONT FACE="Arial"><SPAN STYLE='font-size:13.0px'> <BR>
Just to understand&#8230;<BR>
&nbsp;<BR>
Donovan told me to set the pulseInterval in Hydrotween to 1, and the result is a lot smoother.<BR>
&nbsp;<BR>
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?<BR>
&nbsp;<BR>
Romu<BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>
</SPAN></FONT>
<P ALIGN=CENTER>
<FONT SIZE="5"><FONT FACE="Times New Roman"><SPAN STYLE='font-size:16.0px'><HR ALIGN=CENTER SIZE="2" WIDTH="100%"></SPAN></FONT></FONT>
<P>
<FONT SIZE="4"><FONT FACE="Tahoma"><SPAN STYLE='font-size:13.0px'><B>From:</B> golist-bounces@goasap.org [<a href="mailto:golist-bounces@goasap.org]">mailto:golist-bounces@goasap.org]</a> <B>On Behalf Of </B>Romuald Quantin<BR>
<B>Sent:</B> 29 May 2008 15:06<BR>
<B>To:</B> GoList@goasap.org<BR>
<B>Subject:</B> [Golist] hydrotween + go vs tweener<BR>
</SPAN></FONT></FONT><FONT SIZE="5"><FONT FACE="Times New Roman"><SPAN STYLE='font-size:16.0px'> <BR>
</SPAN></FONT></FONT><FONT SIZE="4"><FONT FACE="Arial"><SPAN STYLE='font-size:13.0px'>Hi Guys,<BR>
&nbsp;<BR>
I made a small test (file included). I&#8217;ve already posted it but nobody answered, I renew my test with the last version of Tweener, Go and Hydrotween.<BR>
&nbsp;<BR>
I&#8217;m working on a project and it will use a tweener for the animations, I won&#8217;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.<BR>
&nbsp;<BR>
To be honest, after seeing the benchmarks and the features, I would like to mainly use Go, but here&#8217;s my problem.<BR>
&nbsp;<BR>
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.<BR>
&nbsp;<BR>
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 &#8220;reactivity of the engine&#8221;, I can see that the Tweener one is a lot smoother&#8230;<BR>
&nbsp;<BR>
Here are the questions:<BR>
&nbsp;<BR>
1 - Am I doing something wrong in my test?<BR>
2 - Can you see what I mean when I say Tweener is smoother?<BR>
3 - Is the problem coming from my test?<BR>
4 - Is the problem coming from Go?<BR>
5 - Is the problem coming from Hydrotween?<BR>
6 - Is the problem coming from the easing equation?<BR>
7 - is Hydrotween or Go parsing a big array or something that might make it less smooth when the engine start again the tween?<BR>
8 - Can I (or we) solve it?<BR>
&nbsp;<BR>
I don&#8217;t want to shadow Go+Hydrotween at all, I&#8217;d like even to use it full time but I&#8217;ve got to get a good result&#8230; Can you please tell me what you think of that and if there&#8217;s a solution or if you&#8217;re going to have a look?<BR>
&nbsp;<BR>
Thanks for your time.<BR>
&nbsp;<BR>
Romuald<BR>
www.soundstep.com <a href="http://www.soundstep.com/">&lt;http://www.soundstep.com/&gt;</a> <BR>
&nbsp;<BR>
</SPAN></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'>_______________________________________________<BR>
GoList mailing list<BR>
GoList@goasap.org<BR>
<a href="http://goasap.org/mailman/listinfo/golist_goasap.org">http://goasap.org/mailman/listinfo/golist_goasap.org</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'><BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>