Labels

Thursday, October 18, 2012

DSDN 142 - Spinning interaction

Spinning interaction


Been trying to add in a rotation function to my code. So when the mouse is pressed the sea anemones (called in images) will rotate individually. The error that i keep end up getting is the script works but the whole of images as a cluster rotates instead of individually. Or the other one is that when clicked and held it makes a new sea anemone in the centre of the canvas and it rotates but the rest of them don't rotate at all. 

I have looked on different forums to see what people have coded to see if it is similar to mine but haven't been able to figure out what i am doing wrong.

No comments:

Post a Comment