cocos2d / cocos2d-js

cocos2d-x for JS
http://www.cocos2d-x.org
MIT License
1.86k stars 490 forks source link

popScene can't see ccs #617

Closed feijing566 closed 10 years ago

feijing566 commented 10 years ago

sceneA is include a ccs. when popScene SceneA can't see the ccs again.

sceneA create code : ctor:function(){ this._super(); var node = ccs.sceneReader.createNodeWithSceneFile(res.scene.city); this.addChild(node); }

dingpinglv commented 10 years ago

Hi @feijing566,

Does this problem present on Web or JSB?

Best regards David

feijing566 commented 10 years ago

HI @dingpinglv Both of Web and JSB have this problem. I met this problem in PC and mobile browsers

VisualSJ commented 10 years ago

Hi @feijing566 we met again. ^_^

About this question: https://github.com/cocos2d/cocos2d-html5/pull/2032

It is because the _componentContainer array be emptied.

Thank you for feedback~

In addition, can you tell me which version of you using Cocostudio?

VisualSJ

feijing566 commented 10 years ago

hi @VisualSJ , Thanks for repair work. I've tried it. It works well! My CocoStudio's version is 1.5.0.1