<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Romuald,</div><div><br></div><div>ENTER_FRAME (-1) will give you the smoothest results in real-world interactive code such as your demo file. </div><div><br></div><div>I don't recommend using a setting of 1, which is smooth but can easily back up the player by overclocking it. Your screen and the human eye work best at around 24-30 FPS so, just set your movie to one of those framerates and use enterframe. That allows the player to refresh animation as it is naturally refreshing its redraws, which is far more efficient than running thousands of calculations that are never even seen.</div><div><br></div><div>Sorry about the confusion with the previous 33ms default, and thanks for helping us figure out that it was flawed. It is true that that setting runs faster in benchmarks but it may be because it "staggers" player processes; however it apparently also causes animation to hiccup in real world settings.</div><div><br></div><div>Please bookmark the Go docs home page: <a href="http://www.goasap.org/docs/">http://www.goasap.org/docs/</a> </div><div>Get comfy with referencing docs for questions like, what is a constant's value, that's just faster for you and others than posting such a question. But I am to blame for causing confusion on the default pulse, which went from -1 originally, to 33ms for a while, and now is back at -1. Sorry bout that but again thanks for your valuable input! :-)</div><div><br></div><div>- moses</div><div><br></div><div><br><div><br></div><div><br><div><div>On Jun 6, 2008, at 10:28 AM, <a href="mailto:donovan@hydrotik.com">donovan@hydrotik.com</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div> <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, "Romuald Quantin" <<a href="mailto:romuald@thoughtomatic.co.uk">romuald@thoughtomatic.co.uk</a>> wrote:<br> <br> </span></font><blockquote type="cite"><font color="#000080"><font size="4"><font face="Arial"><span style="font-size:13.0px">Hi Everyone,<br> <br> First of all, thanks Donovan and Moses to have a look at this issue.<br> <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> <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…<br> <br> Donovan told me to set the pulseInterval in Hydrotween to 1, and the result is a lot smoother.<br> <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> <br> Romu<br> <br> <br> <br> </span></font></font></font><font face="Verdana, Helvetica, Arial"><span style="font-size:12.0px"> </span></font><div 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> </div><div> <font size="4"><font face="Tahoma"><span style="font-size:13.0px"><b>From:</b> <a href="mailto:golist-bounces@goasap.org">golist-bounces@goasap.org</a> [<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> <a href="mailto:GoList@goasap.org">GoList@goasap.org</a><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> <br> 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.<br> <br> 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.<br> <br> To be honest, after seeing the benchmarks and the features, I would like to mainly use Go, but here’s my problem.<br> <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> <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 “reactivity of the engine”, I can see that the Tweener one is a lot smoother…<br> <br> Here are the questions:<br> <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> <br> 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?<br> <br> Thanks for your time.<br> <br> Romuald<br> <a href="http://www.soundstep.com">www.soundstep.com</a> <a href="http://www.soundstep.com/"><http://www.soundstep.com/></a> <br> <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> <a href="mailto:GoList@goasap.org">GoList@goasap.org</a><br> <a href="http://goasap.org/mailman/listinfo/golist_goasap.org">http://goasap.org/mailman/listinfo/golist_goasap.org</a><br> </span></font></font></div></blockquote><font size="2"><font face="Monaco, Courier New"><span style="font-size:10.0px"><br> </span></font></font> </div> _______________________________________________<br>GoList mailing list<br><a href="mailto:GoList@goasap.org">GoList@goasap.org</a><br><a href="http://goasap.org/mailman/listinfo/golist_goasap.org">http://goasap.org/mailman/listinfo/golist_goasap.org</a><br></blockquote></div><br></div></div></body></html>