New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Screen flash fixes #1501
Screen flash fixes #1501
Conversation
Continuous flashing is broken in rm2k3 with save games in a unique way. If you save your game, and then go to end game, and load without exiting If you close I haven't tested but I bet if you save and load different save games you could get surprises. Like save one game with a short continuous flash, and then load a different one with a longer continuous flash. I expect the load would continue with the short flash. It looks like some state is kept to keep the flash going which is left in memory when you go back to the title and reload. I'm very confused how it even works. In order for you to be able to repeat the flash, you need to store the original time amount and saturation so that the program knows how to repeat the same flash. The There appears no chunk in the save data to store these extra 2 values. @CherryDT How are they doing it in rm2k3? |
5c7432b
to
2e67f6e
Compare
Our algorithm for shake screen looks wrong. It doesn't work at all for some values of speed and power. @CherryDT What is the algorithm used for computing Player does Also are these flash and shake effects computed in terms of 1/10 s or frames? It seems the time left is in 1/10 s units. If its in 1/10 s, our timing is also wrong as it looks like we increment these every frame?? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only this, otherwise 👍
2e67f6e
to
48099b0
Compare
After rebasing the "force-pushed" diff is completely useless because it shows the whole diff to master in there which means you can still sneak in new code without anybody noticing ;) |
No description provided.