Does cocos2dx-javascript support onloading method?
cc.Loader.getInstance().onloading = function () {
cc.LoaderScene.getInstance().draw();
};
I want to show the loading status when loading resources.
Thanks!
Does cocos2dx-javascript support onloading method?
cc.Loader.getInstance().onloading = function () {
cc.LoaderScene.getInstance().draw();
};
I want to show the loading status when loading resources.
Thanks!