I'm have develop action game and i have a problem that my scene game have a large size for memory and then. I'm looking how to loading that data to memory before game is running.
Basically what you want to achieve is to load everything into memory before rendering. You can do this by simply keeping a boolean bLoading, which will be TRUE by default and FALSE when all the loading is done. In your game loop you can make a call to a function showing the loading screen, when bLoading is TRUE of course...thats how im doing it. I bet there is a more efficient way to do it though
Preload by filling the mesh and texture caches before you start the game.
Simply call getMesh and getTexture for each resource, but ignore the return value. Later when you call getMesh or getTexture in-game, the resources will come from the mesh and texture caches and not the disk.