Posted April 28, 2021 by thewordnerd
Just a quick note that I pushed an update that resolves a significant performance issue on higher levels. I have a system which updates what tiles the player and robots can see. This system was supposed to run only when relevant data changed, but it seemed to run over every single entity with visibility, every single frame, even if nothing needed an update. Oops!
I restructured the queries slightly, and now the only visibilities that update are the ones that need to. Motion on level 10, with 110 robots, went from about half what I perceived on level 1, to imperceptibly different whether I faced 20 robots or 110. No other changes were introduced.
Anyhow, I figure everyone wants better-performing games, so enjoy this new release. :)