Gives Screenshake an actual smoothing value versus just jumping over a single frame #6524
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
About the pull request
Basically in game rn, screenshake uses jump easing, which over the span of a single frame sends you from your current screen position to the location of the screenshake. This PR gives it cubic easing, which while being one of the more 'rough' easing options, makes it look like your FPS arent dropping.
Explain why it's good for the game
Screenshake looked extremely low FPS/jumpy and honestly over long periods of screenshake like queen screech kinda made your eyes hurt. CM's screenshake was one of the worst of any SS13 servers and had us looking extremely dated.
Screenshake should be Screenshake,not give players motion sickness
This PR fixes that, now with screenshake being heavily dependent on your personal FPS choice, with those who choose to play on the server FPS/lower FPS having whats more similarly to the older 'jumpy' screenshake, while those on higher FPS have to deal with random low FPS screenshake
The vids speak for themselves
Testing Photographs and Procedure
Screenshots & Videos
I have vids of what it looks like too for gun recoil but photoshop refuses to render my videos so theyll come later
What it used to look like:
https://streamable.com/c4wk97
One of the worst examples of old screenshake (at 48fps)
https://streamable.com/iyj8d7
What it looks like now (note I use 48 FPS for first one, then server FPS for low fps ones)
https://streamable.com/5nd11l
Like the stuff I make?
Changelog
🆑
qol: Makes screenshake look less low FPS/jumpy
/:cl: