@Mikael: I came very close to using a physics engine, but I want to
know what's wrong with my code. I might use it in the end if I can't
get it corrected. btw, does PyBox2D come with collision handling
routines?

@Morgan: I already tried that before I made this post and it doesn't
seem to make a difference. Whatever is causing the problem, it's not
that.


I've been thinking. I'm responding to collision only when the player
hits the left of the tile from the left side, right of the tile from
right side, top from top and bottom from bottom. Does that have any
significance? Also, if I directly check the current collision without
checking the previous position, the ship gets carried off somewhere...
--~--~---------~--~----~------------~-------~--~----~
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