RT…
PS: the ACTION of SPRITE can’t run when I use a NODE to add that SPRITE , what’s the reason??
RT…
PS: the ACTION of SPRITE can’t run when I use a NODE to add that SPRITE , what’s the reason??
“ctor” is constructor of Object, when you construction object, this function is call.
run “onEnter” function code is here:
if ((!runningIsTransition) && (this.*runningScene != null)) {
this.*runningScene.onEnter();
this._runningScene.onEnterTransitionDidFinish();
}
Hi, Jinle, please give us more details about your calling of RunAction.
Or please refer to the tests in the engine.