[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Not sure what to call this.



Brian Fisher wrote:
rotozoom returns an image that
is bigger than the original, and I forget exactly how to deal with it.

Think about where the centre of the image needs to be
located, because that's the one point that doesn't
move when you rotate the image using rotozoom.
Then get the rect of the rotated image, change its
'center' attribute to the appropriate point on the
screen, and use that rect in the blit() call.

--
Greg