Animation:setCenter( x, y )
For instance, a 128x64 Animation (assuming all frames have equal size), will have a default center at (0,0)
(the actual center). If you want the Animation to rotate around its top-left corner, you set the center to (-64,-32).
Unlike Images, which have absolute centers, Animations have relative centers. This is because frames in an Animation
can have variable dimensions.
Usage
Animation:setCenter( x, y )
Arguments
xThe position of the center along the x-axis.
yThe position of the center along the y-axis.
Returns
Nothing