Should we remove Child added by addChild method before going to next scene in cocos2d ?

Posted by srikanth rongali on Stack Overflow See other posts from Stack Overflow or by srikanth rongali
Published on 2010-05-21T04:28:23Z Indexed on 2010/05/21 4:30 UTC
Read the original article Hit count: 304

Hi,

I am writing a small game in cocos2d. I am adding child

    [ self addChild: sprite1];  

Should I remove these before going to next scene by using

 [self removeChild: sprite1 cleanup:YES];   

Does it increase the performance in device ?

Thank You.

© Stack Overflow or respective owner

Related posts about cocoa-touch

Related posts about cocos2d-iphone