I’am trying to preload a textures in my game. I use CocosBuilder, so I have .ccbi files in output. The sequence that I want to receive is:
0) Player click to the button, and want to switch scene to another, e.g. scene.ccbi
- I send request for data for new scene to server
- during waiting for response, I want to load in SpriteFrameCache all .png , that used in scene.ccbi
- When I get response, I already have all .png files in cache, so it will be load only structure.
The problem is I don’t know how to get list of .plist/.png that used in .ccbi file. Does anybody know how to do that?