I am using "pygame.transform.rotate(img, number)" but when I go under 90*, it trails off in a certain direction. Any way someone could help?
Asked
Active
Viewed 45 times
2
-
What do you mean by "trail off"? Can you share a sample image? Also, what happens if you rotate 180°, 270°, or 360°? – Moshe Katz Jan 27 '22 at 23:43
-
ok. I added a refrence image. – Athsmooth Jan 27 '22 at 23:52
-
I changed your images to be embedded in the question instead of being links, but I still don't understand your question. You say "over 90°", but you don't show an example of that - 5° is under 90°, not over it. – Moshe Katz Jan 27 '22 at 23:57
-
that's my bad. That was a typo. Let me edit it. – Athsmooth Jan 28 '22 at 00:00
-
Does this answer your question? [How do I rotate an image around its center using Pygame?](https://stackoverflow.com/questions/4183208/how-do-i-rotate-an-image-around-its-center-using-pygame) – Moshe Katz Jan 28 '22 at 01:20
-
not really. Because I believe the center is the image itself. – Athsmooth Jan 29 '22 at 00:12