Closed DonKaiStorm closed 1 year ago
One small thing that I'm going to revert myself is the 0.11s delay between Updates. It causes pop-in when you're spectating if you change from someone near the middle of the stage to one on the edges of the stage.
Other than that, good work. :)
You are absolutely right on that change. I completely forgot to check if Spectator mode would have issues with it. Thanks for accepting my pull request.
Like with the closed pull request I made earlier, this disables the rendering of the ScrollCamera when away from the edge of a level. Unlike my old version, however, it uses the location of the base camera and the min/max X values of the level to determine whether to turn on/off.
Another difference is that rather than every frame, the method gets invoked every 0.11 seconds (which is 9 times per second), helping decrease the performance cost.
Other than changes related to that, I added my name to the Github Contributors credit list, and fixed GradedWarrior's credit in the .txt file too.