I am having trouble understanding why my app that has a lot of resources is taking a long time to startup (NOT to load the resources. The program does NOT load many resources at startup).
To clarify (and I did this to confirm that the problem was related to the number of resources in my resource bundle):
- I created a new cocos2d project.
- Then I took helloWorldLayer from the newly created project and put it in MY APP which had a lot of resources (thousands of small pngs).
- In MY APPs appDelegate I then ran this layer (scene) instead of the scene it would usually load (which would have been MainMenu). The output is exactly the same as the cocos2d template. The cocos2d default.png followed by "hello world."
- However, it takes a lot longer to startup MY APP than the cocos2d project and also to change from the default.png loading screen to the actual code ("Hello World");
Is this expected behavior? Why is there a difference?