Funkin
Funkin copied to clipboard
consistent flashing
minor improvement - more accurate flashing behavior for menu stuff
when you work out the existing math the flashes usually happen at around 0.05 sec or 20fps, but not always...
this change should make it consistent 20fps across any framerate (over 20fps at least, under 20 itll flash every frame)
before:
https://github.com/FunkinCrew/Funkin/assets/58795684/301b9bc8-1406-41f2-9556-99ecf17aebb4
after:
https://github.com/FunkinCrew/Funkin/assets/58795684/6e520f53-bd85-400b-9ce2-1f748851fb8d
the difference is smaller on higher fps since the error becomes smaller (see graph), this pr is just for accuracy
https://github.com/FunkinCrew/Funkin/assets/58795684/6ad42f3e-8dde-436a-b2b4-3481a012e701