[Golist] HydroTween Updates
Moses Gunesch
moses at goasap.org
Sun Aug 3 17:27:07 PDT 2008
that latest version of Go is not well tested, it might have issues. If
so they will probably be in PlayableGroup.addItem(). I need to test it
a bit ...
m
On Aug 3, 2008, at 4:05 PM, donovan at hydrotik.com wrote:
> 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/src/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
> _______________________________________________
> 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/20080803/01764f69/attachment-0001.html
More information about the GoList
mailing list