I have placed some of my texture atlases outside my app.bundle. This does not seem to work. Although the path is correct, and I use the compressed texture output (.atlasc) the SKTextureAtlas command can't find the atlas? Anyone have any idea?
The Apple documentation says: "An SKTextureAtlas object is a collection of related texture objects created from a texture atlas stored inside the app bundle." .
So that doesn't seem hopeful. But I can't imagine why this would be. For example if you have a game downloading extra levels with textures. This would not be possible if you can't load the textures outside of the app.bundle.
To further explain; After purchase the app downloads an in-app purchase package, from that package the app copies some texture atlases (like Textures.atlasc) to the documents folder. And from the documents folder I try to load the textures something like this;
NSString *roadTextures = [NSString stringWithFormat:@"%@Textures.atlasc",mapPath];
self.textures = [SKTextureAtlas atlasNamed:roadTextures];
I've tried different methods, by not including .atlasc or any extension at all. I have checked if the files are in the document folder and they are.