Script size question

Posted By: VeT

Script size question - 07/29/09 15:14

Okay, i lost a day, but i get this.

So, i have a huge project, last month i worked only with mathematica (angles of players, corrections, etc), and i was really dissapointed with the falling of FPS and memory size.
1) I commented 99% of code: includes, startup and so on.
When i run nearly empty script, i got 2 functions running, empty screen and 400+ fps.
2) I uncommented and optimized some INCLUDE files, so the summary size of scripts increased... i got still 2 functions running, empty screen and 280 fps.
And its not the end.

Why this happens? Why FPS depends on number of strings, but not on number of running functions?
Posted By: jcl

Re: Script size question - 07/29/09 16:11

The frame rate of a game depends on the content, but not on the physical size or length of its scripts.

With outcommenting code, you can locate which part of your include scripts causes an fps problem. It should then not be difficult to find and fix the problem.
© 2024 lite-C Forums