I've been working on a 3D engine in turbowarp for a bit now, and now I want to add sprite rotation. I experimented, and this is the basic formula I'll most likely be using. The background marker is kind of broken the higher the number you are using, but the formula itself is fine.
For those wondering, sprite rotation is being used in games like doom (1993) to let 2d sprites look different from different angles.
2 comments