Major speed boost

Published December 07, 2020
Advertisement

I kept watching my FPS drop lower and lower, but didn't bother profiling until now. Turns out, I was redrawing the map window in a loop, so I fixed that to only serenader when it actually needs to. I then faced another problem, with the fixed, the adaptive resolution skyrocketed and so did the frame rate. This is good, but not when working on a battery powered laptop. So I introduced a frame rate cap, this will prevent it from killing my laptop while I work in 3D mode, but still allow me to turn it off and let me see if any parts of the level are lagging or anything.

25% CPU usage while editing, before it was at 100% because the frame rate was uncapped.

Previous Entry Main Room Built
Next Entry Nice View
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement