Beta v15.1: I tried fixing someone's savegame...

Puffin Planes

A casual airline management game set on Earth and Mars. Supports singleplayer and Steam co-op.

I asked a content creator (who I will keep anonymous) for their absolutely massive savefile. They obliged, and I opened it and my computer started stuttering real bad. To be clear, I am running an i7-13700k and 4070 so if a game of Puffin Planes is laggy for me, then it will be laggy for almost everyone. I got to work over the next couple of days and made dozens of performance improvements that are way too complicated to explain. One of the most important improvements I made was smoothing out lag spikes by distributing the work over multiple frames. This really helped with stability in the massive savefile, which had something like eight hundred planes. Which I will admit is way more than I ever expected anyone to make in my game. But evidently people want to push my game to the limits, and while it was not designed for that...I will do my best to optimize so y'all leave positive reviews upon release hehe. Also, embarrasingly enough, one of the biggest lag spike was caused by asking the Steam API over and over again if the user had a specific achievement...I added a cache for those references and it really helped make the massive savegame buttery smooth on my machine (OK that may be an exaggeration. But seriously, it is so much better than it was when I first got it). Oh, and by the way--I fixed that bug that was causing multiplayer games to fail. I tested it by creating a multiplayer game 5 times. Yes, seriously, that's the extent of testing this game gets... the joys of indie dev. Without further ado, here are the underwhelming patch notes: Beta v15.1 Features: - Significant late-game optimization (multiple days' worth of refactoring). Changes: - Made some quarter goals scale with the number of players that you have. - Camera movement is now less disorienting when the game is laggy. - Reduced the number of passenger spawn attempts per tick; now spawn more passengers each attempt to compensate. This may have some slight gameplay effects but nothing too drastic, I hope. Bugfixes: - Fixed multiplayer not working - Fixed unoptimized achivement code causing massive late-game lag spikes.