Thanks John I will use this till I find a new solution2008/7/4 John Leach <john.leach@xxxxxxxxxxxxx>:Yes I see this.
I think most of the problem is here
self.rect.centerx += dxmaybe centerx and centery need to be integers?
self.rect.centery += dy
I had better luck when I changed it to like this
self.xx += dx
self.yy += dy
self.rect.centerx = int(self.xx)
self.rect.centery = int(self.yy)
where self.xx and self.yy are floats.
It was still not perfect but much better than before.
John