@piotrros wrote:
Hi, is it possible to finish running action? By finishing I don't mean stopping but instantly forwarding it to the end.
For example:
sprite->setPosition(0, 0); sprite->runAction(MoveBy::create(0.5f, Vec2(100, 0)); finishActions(sprite); //some magic function //now sprite is at (100, 0)
I have very complicated block of animations and very rarely something goes wrong and one of sprites is few pixels off. I wanted such a method to test if it'll fix this bug.
Posts: 1
Participants: 1