How Can I make sprite sheet with only one image in Swift?

127 views Asked by At

Hello dear developers,

I have a picture as above. I just want to use one image and I want to show the corresponding car image according to the selected angle.

As seen in the bottom photo, for example, when there is an angle of 30 degrees, I want to get the view that is equivalent to 30 degrees.

Thanks,

Example images:

enter image description here

enter image description here

0

There are 0 answers