New issue
 Projects > js > Issues > Bug #3887

Action.reverse() does not work as expected

Bug #3887 [New]
ZippoLag 2014-02-01 17:59

Using Action.reverse() on actions with "by" in the verb (ie: MoveBy) works fine, but it does not work with those with "to" (ie: MoveTo, for example, results in the moved object returning to cc.p(0,0)).

I think this should either be clearly stated in the docs (and throw an excemption when tried to use?) or implemented to work as it does with other functions. I suppose it would require each "to" action to remember the state of the object when it was first called.

Thanks.

Atom PDF

Status:New
Start date:2014-02-01
Priority:Low
Due date:
Assignee:-
% Done:

0%

Category:-
Target version:-