Re: [pygame] Rotating an Image about another Point

2008-03-16 Thread Greg Ewing
Ian Mallett wrote: I would like to move the blitting point to a location such that, for any rotation, the image appears to rotate around its bottom edge. -How can one do that? Find the vector between the centre of the image and the point you want to rotate it around. Rotate that vector by the

[pygame] Rotating an Image about another Point

2008-03-14 Thread Ian Mallett
Hi, The story so far: -I looked for this, and Google turned up some stuff which I didn't understand. -It seemed to provide code to rotate a point about another, which I already know how to do. -pygame.transform.rotate() rotates the image about its center, returning a larger or smaller surface. -Wh