thanks for help.
I would like to kindly ask you one last thing:
Exists the right place to reset CCTextureCache?
now I launch reset on layer::scene, but sometime the scene just opened contains black sprite. So I go back in the main page and re-enter in the game scene and the texture are ok.
The problem often happens after resuming, precisely the scene after the one that appears on restore, I noticed Director->purgeCache on the resuming.
So I would ask if there some guide lines for use in a reliable manner textureCache.
Or, how to disable cache? I tried to disable cache (CC_ENABLE_CACHE_TEXTURE_DATA = 0), but in this case, after resume all sprite are black, all screen is black.
thanks for help