I am facing an issue where the function at the end of a sequence when used with cc.Repeat does not get called.
I modified the HelloWorld HTML5
var fireLoopStart = cc.CallFunc.create(this.fireLoopStart, this);
var fireLoopEnd = cc.CallFunc.create(this.fireLoopEnd, this);
var rotateBy1 = cc.RotateBy.create(1, 10);
var rotateBy2 = cc.RotateBy.create(1, –10);
this.sprite.runAction(cc.Repeat.create(cc.Sequence.create(fireLoopStart, rotateBy1, rotateBy2, fireLoopEnd), 2));
I think the expected sequence should be following, which by the way works fine with JSB, the problem is only with html5
fireLoopEnd ( This is never called )
Am I doing anything wrong here? it works as I expect on iOS simulator with JSB.
Any help to solve this issue would be much appreciated.
I have attached the modified MyApp.js file
myApp.js.zip (2.2 KB)