I’d guess you want to check out initWithResources, looks like selector and target can be null, so give it a shot just replacing preload. If not I’m sure one of the devs will get you an answer
/***
** init with resources
* `param {Array} resources
Jem I experienced the same issue as you. It is not very clear when installing that there are changes. I think there are others that are also undocumented.
I just discovered that when you use cc.Loader (second recommendation by Shun Lin above), you get a warning to start the director with “runWithScene” instead of the “replaceScene”. However the first recommended code stated by Shun Lin:
//load resources
cc.LoaderScene.preload(g_ressources, function () {
director.replaceScene(new this.startScene());
}, this);
To call “runWithScene” or “replaceScene” depend on you are using Loader.preload or LoaderScene.preload.
If you are using Loader.preload, there is not a previous scene in the director. So you should use runWithScene.
If LoaderScene, you should use replaceScene instead.