How does game “optimization” work? Are people sitting there changing lines of code to more “optimal” ones? What is “optimized”?

2.02K views

The recent The Last of Us for PC made me realize I had no idea what’s meant by “optimizing” a game.

Same with optifine in Minecraft improving performance. How do these things work to just make games use fewer resources?

In: 158

105 Answers

Anonymous 0 Comments

I had to do this within my own game and basically it means exactly what it sounds like. But more from a problem solving sense. You have to find ways to accomplish the same things with less processing and less memory. Some good examples from my experience were reducing the number of computations required to move objects, consolidating similar repetitive code into reusable scripts, decreasing the number of objects being rendered during a single frame by pausing enemies and bullets that were off screen. Lots and lots of things like that. Hours and hours of work and debugging. Trial and error. Creating simplicity from complex problems.

You are viewing 1 out of 105 answers, click here to view all answers.