Is there a convenient way to speed up / slow down every action by a factor?
For example, suppose I have these actions running:
sprite1.runAction(cc.moveBy(4, cc.winSize.width * 0.5, 0)); sprite2.runAction(cc.rotateBy(4, 360));
Both these actions take 4 seconds to complete. When I am 2 seconds into these actions I want to speed them up by a factor of 2 so the remaining animations take 1 second instead of 2 seconds. So total time taken will be 2 + 1 = 3 seconds.
- I want all the actions present in the game to speed up / slow down.
- I want all future invocations of actions to speed up / slow down too.