Rotation
I started looking into rotating the player and making sure everything still works correctly. Of course I already have some rotating functionality. So the bitmap is easily rotated. However I then got onto a side track as I don’t want to use PI in my code. It should be easier to use turns or half turns in code. So I was more looking into how the sine and cosine functions work and how I can implement my own. That way I can make one that takes turns instead of radians and make working with rotation easier hopefully. And it also should be more precise btw, which is also nice.

Last modified: November 17, 2022