<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Yeah that's good. I created a system called OpenTween – don't think I ever posted it though because I wasn't sure I liked the abstraction layer of putting a ton of information and functionality into property classes which is what happened when I tried this.<div><br></div><div>My property inputs were</div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">&nbsp;&nbsp;propName: <span style="color: #373737">String</span>,&nbsp;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">&nbsp; endVal: *=<span style="color: #7f0055">null</span>,&nbsp;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">&nbsp; endValRelative: <span style="color: #373737">Boolean</span>=<span style="color: #7f0055">false</span>,&nbsp;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">&nbsp; startVal: *=<span style="color: #7f0055">null</span>,&nbsp;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">&nbsp; startValRelative: <span style="color: #373737">Boolean</span>=<span style="color: #7f0055">false</span></div></div><div><div><br></div><div>Then I had this functionality in there from Fuse, that lets you omit either start or end and it will figure it out. That's probably why it got complicated.&nbsp;&nbsp;(I will share OpenTween if you want.)</div><div><br></div><div>Anyway yeah I think there is something to a multi-property approach for sure, but I've been leaning back toward just extending LinearGo in the simplest way possible – one property per tween class.&nbsp;<b></b></div><div><b><br></b></div><div><b>Here is why:</b> if every single property were in a separate tween class, OverlapMonitor works the best in that it can allow just one property to be paused, stopped and so on. That's how ZigoEngine worked, it atomized every tween internally. I've been thinking PlayableGroup could be extended to handle multi-prop tweens by creating separate tween instances, then it could let you drill into them to grab children by property etc.&nbsp;</div><div><br></div><div>One could argue that it's slower to not block all similar tweens, but it also provides more control and is less abstract, and I've found that in real practice there are usually only a very small number of "blocked" tweens at once... pretty soon you want to change delay/duration/easing on one property or another and you end up with a group anyway.</div><div><br></div><div>That said, I'd love to see your concept taken all the way John...!</div><div><br></div><div>:-)</div><div><br></div></div><div><br><div><div>On May 6, 2008, at 3:54 PM, John Grden wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><b>Was this:</b><br>tween_0 = new Tween3D(target, 1, Equations.easeOutCubic);<br>tween_0.x = 0;<br>tween_0.y = 50;<br>tween_0.rotationZ = 0;<br>sequence.addStep(tween_0);<br><br>sequence.lastStep.advance = new OnDurationComplete(.2); // advance early/overlap<br> tween_0b = new Tween3D(target, 1, Equations.easeOutCubic);<br>tween_0b.z = 200;<br>sequence.addStep(tween_0b, true); // 2nd param groups it with previous step. param is "addToLastStep"<br><br>tween_1 = new Tween3D(target, 1, Equations.easeOutCubic);<br> tween_1.x = -10;<br>tween_1.y = 85;<br>tween_1.rotationZ = 15;<br>sequence.addStep(tween_1);<br>sequence.lastStep.advance = new OnDurationComplete(.25); // advance early/overlap<br><br>tween_2 = new Tween3D(target, 1, Equations.easeOutBounce);<br> tween_2.rotationX = 0;<br>tween_2.rotationY = 0;<br>sequence.addStep(tween_2);<br><br><b>Is now this:</b><br><br>tween_0 = new Tween3D(target, [Go3D.x(0), Go3D.y(50), Go3D.rotationZ(0)], 1, Equations.easeOutCubic);<br>sequence.addStep(tween_0);<br> sequence.lastStep.advance = new OnDurationComplete(.2); // advance early/overlap<br><br>tween_0b = new Tween3D(target, [Go3D.z(200)], 1, Equations.easeOutCubic);<br>sequence.addStep(tween_0b, true); // 2nd param groups it with previous step. param is "addToLastStep"<br> <br>tween_1 = new Tween3D(target, [Go3D.x(-10), Go3D.y(85), Go3D.rotationZ(15)], 1, Equations.easeOutCubic);<br>sequence.addStep(tween_1);<br>sequence.lastStep.advance = new OnDurationComplete(.25); // advance early/overlap<br> <br>tween_2 = new Tween3D(target, [Go3D.rotationX(0), Go3D.rotationY(0)], 1, Equations.easeOutBounce);<br>sequence.addStep(tween_2);<br clear="all"><br><br>I'm still thinking about this approach, but thought I would throw it out to you guys to see what you thought.&nbsp; Right now, there's static methods in Go3D that return a Go3Dproperty.&nbsp; Tween3D has an array called propertyChanges and if there is an array in the propertyChanges argument, I just set it straight away - no parsing required.&nbsp; It's all ready to go and is filled with Go3DProperty objects.<br> <br>Thoughts?<br>-- <br>[ JPG ] _______________________________________________<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></body></html>