We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since updating from 3.13.1 to 3.14.1, a DrawNode derived object's Scheduler or Events are not called any more.
It only happens in the html5 version, the android compiled version still works.
This example code does not call update() for me:
var circle = cc.DrawNode.extend ({ ctor:function () { this._super(); var size = cc.winSize; this.drawDot(cc.p(size.width*0.5, size.height*0.5), 100, cc.color(255,0,0)); this.scheduleUpdate(); return true; }, update :function () { cc.log("Update"); } }); var HelloWorldLayer = cc.Layer.extend({ sprite:null, ctor:function () { this._super(); var test_circle = new circle(); this.addChild(test_circle); return true; } }); var HelloWorldScene = cc.Scene.extend({ onEnter:function () { this._super(); var layer = new HelloWorldLayer(); this.addChild(layer); } });
The text was updated successfully, but these errors were encountered:
Thanks this should be fixed in 4013fa7
Sorry, something went wrong.
No branches or pull requests
Since updating from 3.13.1 to 3.14.1, a DrawNode derived object's Scheduler or Events are not called any more.
It only happens in the html5 version, the android compiled version still works.
This example code does not call update() for me:
The text was updated successfully, but these errors were encountered: