Jandeilson Posted March 10, 2014 Share Posted March 10, 2014 Hi people! I want to make the "yellow sprite" rotate around the "red sprite", which would make this code work? Seeing the example of rotation points here I see that it is possible, but how to make it work with sprites instead of points?You can see a picture to better illustrate what I want to do.Thank you! Link to comment Share on other sites More sharing options...
jerome Posted March 10, 2014 Share Posted March 10, 2014 maybe pivot will help :http://www.html5gamedevs.com/topic/2985-how-to-set-center-of-rotation/?hl=pivot#entry19355 Link to comment Share on other sites More sharing options...
Jandeilson Posted March 10, 2014 Author Share Posted March 10, 2014 Thanks! It worked perfectly! But the sprite changes its position. How to make the same rotate around statically? Link to comment Share on other sites More sharing options...
Recommended Posts