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

Re: [pygame] sprite 'weird' rotation



You can use a function from my game:

http://pen.svn.sourceforge.net/viewvc/pen/data/parts/cannon.py?revision=31&view=markup

see the rotate_point function

--Mike

Paulo Silva wrote:
hi,

i confess it seems a bad handle from me about sprite rotation on
Pygame - do someone know better how we can handle it better, making
them rotating its center?

http://pastebin.com/f53335b66

thanks!