On Thu, 2008-09-11 at 20:30 +1000, Richard Jones wrote:
> On Thu, 11 Sep 2008, Daniel F Moisset wrote:
> > On Thu, 2008-09-11 at 11:28 +1000, Richard Jones wrote:
> > > Hi there, I have need of a MoveTo action that takes the speed to move at,
> > > rather than the duration to move by.
> > >
> > > Can anyone help please?
> >
> > uh, I didn't commit this, but I have the code...
>
> Any reason not to commit this please?
>
>
> Richard
>
> ... and add it to MoveTo? :)
Answering both at once: I added it to MoveBy, and wanted to added it to
moveto before commit it. Then I realized that I couldn't precompute
duration with moveto (because it does not only depend on the action, but
also on the node which do()es the action). I guess some can be done, but
I was not sure if my obvious idea would break sth else because I haven't
read the whole actions implementation and I was lazy/trying to finish
something else :) [see my email to this list on Aug 17]
Regards,
D.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"cocos2d discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cocos-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---