Prototying Week! (Patreon)
Content
For a few versions now a number of people, myself included, have noticed a significant slowdown in LR2 as the game progresses. My goal for this week is to track the cause of that slowdown down and eliminate it, as well as give myself some diagnostic tools for future bug hunting. I'll also be rendering out some new character positions and experimenting with some compression techniques to shrink the game file size if possible.
My current hunch for the slowdown is that somewhere along the character creation process a character is grabbing a copy of the clothing library instead of referencing the static images, and that this is resulting in a massive duplication of data every time a character is created. To test this I will be writing some debugging functions that time how long it takes to create a character, move them around, ect. Then I will see if the time scales up with the total number of people in existence, total number of people interacted with, and so on. Hopefully this will lead me to the root cause of the slowdown.