Scene does not appear when I go several times, as well erase the memory -


the first time entered scene comes quick , not occupy memory, second time enters takes longer, , next not let me in, nothing appears, scene black.

i use these things clear memory when leave scene, erase , when come good, should not work:

            stopallactions();             removeallchildren(true);             unscheduleallselectors();             ccspriteframecache.sharedspriteframecache().removeallspriteframes();             ccdirector.shareddirector().purgecacheddata();             cctexturecache.sharedtexturecache().removealltextures();             cleanup(); 

please !!!!!!!!!!


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -