1 Commits
Author SHA1 Message Date
fryzahh aa39f2ec02 Gravity flipping fixes
* Redid how gravity is flipped visually when the DisableGravityScreenSwap config is enabled. It is now set to 1 at the start of Main.DoDraw and then set to its actual flipped value at the end in order to trick the game into drawing everything as if gravity hasn't flipped at all. The player is manually flipped in a detour of LegacyPlayerRenderer.DrawPlayerInternal
* Moved all gravity manipulation related detours to their own class, GravityManipulationChangesSystem
* Removed the ScreenFlip shader previously used for the screen flip config
* Fixed an issue where SeaPrisms wouldn't reset the spriteBatch correctly and would cause all non-solid tiles to use the wrong transform matrix and not flip with gravity changes
* Fixed an issue where SeaPrisms wouldn't render when gravity is flipped without the config
2026-07-28 00:18:54 -04:00