I am newbie to cocos. I try to execute the following code. What’s the different between MoveTo and MoveBy both actions are executed in the same way?
var sprite_animation = cc.MoveTo.create(10,cc.p(100, 100));
sprite.runAction(sprite_animation);
var sprite_animation = cc.MoveBy(10, cc.p(100, 100));
sprite.runAction(sprite_animation);