On Aug 1, 6:02 am, GTM9 <[email protected]> wrote:
> Hello all :)
>
> I've been trying to make a Thrust game (you control a ship's thrust
> and direction). The mechanics for that are fine, but I have a problem
> with collision handling. I'm using bounding box collision.


in Player.collide, there's this:

                pr = self.right - self.dx
                pl = self.left - self.dx
                pt = self.top - self.dy
                pb = self.bottom - self.dy

Do you want to subtract self.dx from right -and- left?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to