Game Development Community

Loading IFL Animations

by Kuju Manila · in Game Design and Creative Issues · 11/12/2007 (7:34 pm) · 0 replies

We've had this problem for a while with IFL animations.

Whenever we load a model that contains an IFL animation for the first time, it staggers the entire game while the textures are loaded. Succeeding loads are not a problem, since the textures are already there, but the freeze during the first load is very noticeable.

We've also noticed that whenever a mission is unloaded, it clears the textures, which means that if the mission needs to be loaded again later, or if another mission needs the same model, the stagger will happen again as the game reloads the models, the IFLs and the textures.

Is there a way to reduce the stall, or better yet, remove it completely? Or maybe, is there a way to load the textures beforehand?