Hello,
I’m working on a level-based game, and I’m using the director class for my project. I have one lua file which has all the game mechanics stored in, and each level has a separate file that has the coordinates and level design stored in.
The problem is that when I test the game on my iPhone 4, it takes 20-30 seconds to load a level. If I restart or change the level, it also takes 20-30 seconds to load again. The game runs smoothly with no delay on the Corona and xCode simulator which I’m guessing means that its due to the lack of memory in the iPhone RAM.
I’m using a texture atlas to store and pack related sprites together, but I also have several texture atlas files. Is there anyway to minimize the loading time?
Thanks. [import]uid: 82699 topic_id: 22064 reply_id: 322064[/import]
[import]uid: 122076 topic_id: 22064 reply_id: 87682[/import]