360 Degree Product Spin

Hi
Now I have searched the forum and can not find a similar example.

My question is …
Does anyone know how to do a 360 degree spin, for example 30 images, I want to be able to drag and rotate, preferably with hot spots if possible.
There is no problem if I link to an HTML file that contains the code
but I want to do it directly in the corona to make it more native
See examples …
Thanks in advance

/Lennart

http://youtu.be/VI_98VvukJM

Hi Lennart

You can do it with sprite sheets. See the tutorial here …

coronalabs.com/blog/2012/10/02/animated-sprites-and-methods/

… which helps understand the API basics. Set up sequences for full or partial rotation and a touch handler to control them. 

You can overlay transparent objects to act as hotspots but if you want them to track the rotation that might be a bit trickier!

Stefan

Thanks for your hint  :slight_smile:

/Lennart

Hi Lennart

You can do it with sprite sheets. See the tutorial here …

coronalabs.com/blog/2012/10/02/animated-sprites-and-methods/

… which helps understand the API basics. Set up sequences for full or partial rotation and a touch handler to control them. 

You can overlay transparent objects to act as hotspots but if you want them to track the rotation that might be a bit trickier!

Stefan

Thanks for your hint  :slight_smile:

/Lennart