Importing csb into JS project

Posted in General by MaxDrozd Mon Apr 06 2015 14:52:24 GMT+0000 (UTC)·2·Viewed 1,402 times

Created a simple Cocos Studio project. Published it to csb. using this code to import from ctor of cc.Layer var cssResource = ccs.load("resource/MainScene.csb"); this.addChild(cssResource.node); File path is correct, but I get Uncaught TypeError: Cannot read property '_localZOrder' of undefined crash.
Frahaan Hussain
Apr 28, 2015

Could you show us how your directory is set up please.

Frahaan Hussain
Apr 28, 2015

Could you show us how your directory is set up please.

  
Markdown is allowed