Archive for the '2D Animation' Category

Rotating a Sprite around any point

Wednesday, May 28th, 2008

Click once to activate, then click anywhere to move the registration point. Use SPACE to change the object or any other key to change the direction of the rotation.
This time I want to share a simple solution to a relatively simple, but annoying problem.
The problem: the Sprite.rotation property rotates the object always around the registration [...]