I am updating a label, making it blink, and then clearing the label.
Using this code;
this.setGameOverLabel("Level "+this.PlayerLevel+"!")
var nodeAction1 = new cc.blink(2, 6);
var nodeAction2 = new cc.CallFunc(this.setGameOverLabel("empty"));
var sequenceAction = new cc.Sequence( nodeAction1, nodeAction2);
this.GameOVerLabel.node.runAction(sequenceAction);
This seems to be firing the function not in sequence. The label is empty immediately.
As per the documentation surely this should work? I can’t see what the issue is, please help!
Thanks in advance