Cocos2d-x memory management

  • Direee
    Likes 0

    Problem Description

    Hi, I would like to ask about memory management e.g when do you remove child from scene/layer? if you only need the sprite once (splash screen), is it advisable to remove it from sprite texture cache? 


  • Sonar Systems admin
    Likes 0

    No need, it will be cleaned up after the scene switches. Only remove if you actually want it to be visually removed on such a simple screen.


    This reply has been verified.
  • Direee
    Likes 0

    Ok thanks

  • Sonar Systems admin
    Likes 0

    You welcome :D

Login to reply