Hello,
I have mainly some general questions about how to optimize a game for better performance.
My current problem is that our game takes around three times more memory than all the game files (if not more), and continues increasing the memory and cpu usage.
So can you tell me what might be the problem.
First there are three of animated panels (animated sequences in Targa format) and 3 static panels, 3 avatars (humanoids, each MDL file with all animations and included texture is around 15mb - is that ok?), and some really low quality textures for the flat walls. There are not more than 30mb sound files. And all this takes more than 700mb RAM! :/
Do you think the problem is in the script, or the big models, or textures? I have no idea. We succeeded to lower the RAM usage by loosing some textures, but the that's not the way...
What is the main cause of the big memory usage and can you tell me ways to optimize a game?
Sorry for the swarm of questions. I would really appreciate your replies, so thanks in advance!
Regards,
Nikolay