[Golist] HydroTween Updates

donovan at hydrotik.com donovan at hydrotik.com
Mon Aug 4 06:06:08 PDT 2008


Thanks Burak:)

AddProperty and sequence update commands have already been added.





On 8/4/08 3:39 AM, "Burak Delice" <burak at delizade.com> wrote:

> 2 days ago I started to use tortouse ( thanx Gil for SVN guide) and entered to
> SVN world with baby steps. download all my AS3 tools to my machine. after that
> my project began to behave strangly. I had forgotten uptade matter but after
> reilized versions of hydro and GO. downgraded Go version to 0.5 and nigtmare
> is gone ;) I mean, sometimes AS3 things make me very scare!
>  
> and hearing some efforst about hydro makes me feel good and relaxed.
>  
> and I hope some little additional things will be merged to package ( Gil wrote
> some about addProperty and OnUpdate)
>  
> thankyou very much all of you.
>  
> Burak.
>  
>  
>  
>>  
>> ----- Original Message -----
>>  
>> From:  donovan at hydrotik.com
>>  
>> To: Mailing list for the Go ActionScript Animation  Platform
>> <mailto:golist at goasap.org>
>>  
>> Sent: Sunday, August 03, 2008 11:05  PM
>>  
>> Subject: [Golist] HydroTween Updates
>>  
>> 
>> Hi all.
>> 
>> I was hoping to hold off in order to  figure out why Sequencing is not
>> working with the 0.5.1b update and do some  more extensive testing, although
>> I wanted to keep you guys informed on the  progress in light of the emails.
>> Consider this a soft update as some of these  features haven¹t been
>> thoroughly tested yet. Because of this I have only  updated the SVN. See
>> below the updates for more info.
>> 
>> So there are some  new files associated with HydroTween  now.
>> 
>> HydroSequence.as
>> PV3DRenderManager.as
>> HydroTween.as
>> IPV3DRenderManager.as
>> IRenderable.as
>> 
>> http://code.google.com/p/goplayground/source/browse/#svn/trunk/DonovanAdams/s
>> rc/com/hydrotik/go
>> 
>>  
>> 
>>  
>> Arguments have been added to HydroTween.go()  calls:
>> 
>> HydroTween.go(target, {x:200}, 2, 0, Linear.easeNone,  completeFunction,
>> updateFunction, ["Hello Complete Arguments"], [³Hello Update  Arguements²]);
>> 
>> This may conflict with previous syntax if you are using  additional arguments
>> extra easing params, etc.
>> 
>>  
>> 
>>  A PV3DRenderManager class has been added to perform a global update to a
>> veiwport/camera/renderer.
>> Works the same way with HydroTween.init3D();  However this is only called
>> once per pulse.
>> I have not had a chance to test  this in a PV3D scene yet, but the Manager is
>> working. If someone could give  this a test drive that would be great.
>> 
>>  It has been suggested that  you have the ability to render more then one
>> viewport. If this is the case I  would suggest simply using another update
>> method and update your renderer that  way. I may change the way
>> PV3DRenderManager works, and/or add more  functionality for PV3D render
>> control, but use the individual update in the  meantime.
>> 
>>  
>> 
>>  I fixed a but with complete and update methods being called multiple times
>> when tweening an array of DisplayObjects
>> 
>> I made the IDENTITY a public  constant. To reset the value of any ColorMatrix
>> tween you can pass  HydroTween.IDENTITY to tween back to the original visual
>> state of a target.  This works for color, brightness, hue, saturation,
>> matrix, contrast, and  tint.
>> 
>> HydroTween.go(target, {color: HydroTween.IDENTITY}, 2, 0,  Linear.easeNone);
>> 
>>  
>> 
>>  I have added update and complete props to HydroSequence. FYI I¹m using
>> updater  instead of update to avoid a naming conflict.
>> goItem.addItem({func:trace,  args:["HELLO WORLD"]});
>> goItem.addItem({target:target, color:0xFF00FF,  duration:.5, updater:trace,
>> updaterArgs:["Updating!"], scope:this});
>> 
>>  
>> 
>>  
>> I have also added per Gils request:
>> 
>> /**
>>  
>>>          *  Added by Pickle: Add a  property using genericRead and
>>> genericWrite
>>>            *   @param     newProp    New Property  name
>>>            **/
>>>         public   static function addProperty(newProp:String)  {
>>>              if  (!   _propertyList.hasOwnProperty(newProp))
>>>                   _propertyList[newProp]  = {prop:newProp, read:genericRead,
>>> write:genericWrite};
>>        }
>> 
>> HydroTween.addProperty("zoom");   // add zooming for  Papervision3D
>> Haven¹t tested this  yet.
>> 
>>  
>> 
>>  
>> Like I said this HydroTween 0.5.1 rev40 is not working with 0.5.1b at the
>> moment. I¹m quite swamped and will figure out what¹s going on soon. I just
>> wanted to put these updates out there and ask that they be tested and to give
>> you all some idea as to the inclusion of requests and how they have been
>> implemented. Then I will make a formal post and update the SVN if everything
>> looks good.
>> 
>> If you can¹t update via SVN contact me offlist and I will  email you the
>> files.
>> 
>> I¹m also going to post info on an ANT script and  installing svnant for
>> automating these  updates.
>> 
>> 
>> Cheers,
>> Donovan
>> 
>> 
>> __________  Informazione NOD32 3302 (20080728) __________
>> 
>> Questo messaggio è stato  controllato dal Sistema Antivirus NOD32
>> http://www.nod32.it
>>  
>> 
>>  
>> 
>>  
>> 
>> _______________________________________________
>> GoList mailing  list
>> GoList at goasap.org
>> http://goasap.org/mailman/listinfo/golist_goasap.org
>> 
>> 
>> 
>> __________  Informazione NOD32 3302 (20080728) __________
>> 
>> Questo messaggio  h  stato controllato dal Sistema Antivirus NOD32
>> http://www.nod32.it
> 
> 
> _______________________________________________
> 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/20080804/0a13e08d/attachment-0001.html 


More information about the GoList mailing list