This is a test implementation of the rotation technique described by Coding Secrets ([ Ссылка ]). I got a 404 when I tried their source code link so I decided to try coding it on my own.
As usual, my code can be downloaded from GitHub: [ Ссылка ] and [ Ссылка ]
Also as usual: I haven't tried to optimize much. It's all written in C and uses SGDK's scrolling functions to simulate rotation. I imagine pre-generating a set of rotation values would help a lot. Rotation values could be stored in a large array and pointed to when needed. I should also look at moving to assembly and unrolling the loops I have in there.
Graphics were made with #ProMotionNG
Coded with #SGDK 1.80.
Tested with #blastem and a #segagenesis 2
![](https://s2.save4k.ru/pic/-JvdU4tapuw/maxresdefault.jpg)