It looks to me like pr = self.right - self.dx doesn't actually get you
the previous value of self.right, since self.dx also changes on
update. Try setting self.pr = self.right (etc.) at the beginning of
Player.update, instead.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---