Hi, i have some questions about memory management with cocos2d.
- When i have to allocate a new scene, how should i do? Have i to use CCScene::node() or new CCScene()?
- Can i use delete scene or other methods?
- What is the meaning of autorelease?
- Suppose i have a new scene. Suppose that i allocate 10 frames (CCSpriteFrame) and add them to the scene.
When i destroy the scene, the sprites are de-allocate or should i de-allocate manually them?
Generally speaking, where can i find informations about memory management of cocos2d-x?
Thx