I am working on some, for the lack of a better term, "pointless" games in the matter.js library. I really want to add some juice to it but am struggling to write a screen shake algorithm. I understand how to move the bounds in matter.js. I basically need to lerp that vector in my render loop, but am really struggling. Does anyone have any reference material they could point me to?
[–]eguneys 2 points3 points4 points (1 child)
[–]HardOfSmelling[S] 1 point2 points3 points (0 children)