Hola amigos 
I have a part of game which have rotating mechanism. So, my question is:
How is circle begin rotated in pop the lock game (made with Corona)?
Also, is there any easy way for detection?
Thanks a lot for help :)))))
Hola amigos 
I have a part of game which have rotating mechanism. So, my question is:
How is circle begin rotated in pop the lock game (made with Corona)?
Also, is there any easy way for detection?
Thanks a lot for help :)))))
Every display object (display.newRect, display.newCiricle, display.newImageRect, etc.) have a property called rotation.
lock.rotation = 45
will rotate the object to 45 degrees (0 is the North position on a compass).
Then you can use any of Corona SDK’s methods of changing values (i.e. transition.to(), a Runtime enterFrame listener, etc. ) to change the value of .rotation. So Pop The Lock might be doing:
transition.to( lock, { time = 1000, rotation = 75 } )
Rob
Every display object (display.newRect, display.newCiricle, display.newImageRect, etc.) have a property called rotation.
lock.rotation = 45
will rotate the object to 45 degrees (0 is the North position on a compass).
Then you can use any of Corona SDK’s methods of changing values (i.e. transition.to(), a Runtime enterFrame listener, etc. ) to change the value of .rotation. So Pop The Lock might be doing:
transition.to( lock, { time = 1000, rotation = 75 } )
Rob