1. iMore Question's Avatar
    Hi guys. I have been searching in months now, and i still don't know, how to get an image to spin around several times.
    I want to make a game like the game in real life: "Bottleneck". I can already make an image to rotate from 0 to 360 degrees. BUT...

    I want the image to spin around at least 3 times (1080 degrees) and then stop at a random point.

    I use the CGAffineTransformMakeRotation. It looks like its possible to make the image rotate several times??

    Are there anyone who can help me? I would appreciate it so much! Thanks.
    //Jonas
    11-18-2015 02:59 PM
  2. kataran's Avatar
    This a programming question and should be asked in the tech section as I can not help you but someone else might if your patient
    11-18-2015 04:17 PM
  3. twopinstudio's Avatar
    You're heading in the right direction. The rotation calculation is based on 360 degree, so if u put 380 it's equavalent to 380-360=20 degree. It is possible to make the image spin a few times, just experiment with the value a little
    11-23-2015 06:07 AM

Similar Threads

  1. Comic: Pencils in Time
    By iMore.com in forum iMore.com News Discussion
    Replies: 0
    Last Post: 11-18-2015, 09:00 AM
  2. Replies: 0
    Last Post: 11-17-2015, 10:08 PM
  3. How do I make a movie that includes face names from an iPhoto album?
    By iMore Question in forum General Apple News & Discussion
    Replies: 0
    Last Post: 11-17-2015, 08:21 PM
  4. The iPad Pro Experiment: Day three brings image editing, reading, and music
    By iMore.com in forum iMore.com News Discussion
    Replies: 1
    Last Post: 11-16-2015, 10:54 PM
LINK TO POST COPIED TO CLIPBOARD