I want to know if exist any way to load a plist(xml) file to the memory cache.
I need that because I have a big plist file that have the configurtion of all levels in my game, but when I start each stage, the game read this file, this slow down the start of the game.
This don’t happen with sounds and sprites, I use the
to load music files and I use the
SimpleAudioEngine::sharedEngine()->playEffect(“EngineWindDownCrash.mp3”);
to put sprites in cache.
CCSpriteFrameCache::sharedSpriteFrameCache()->addSpriteFramesWithFile(“snakeX_sprites.plist”);
I want to know if exists anything that I can use to load a plist file to memory cache, this way I can load this file only when the app is open and not when each level starts.