bitcraft / pyscroll

make scrolling games with animated maps in pygame
GNU General Public License v3.0
177 stars 28 forks source link

Jump physics/collision detection #18

Closed namedtoaster closed 8 years ago

namedtoaster commented 8 years ago

My collision detection is not working properly. In the update function, I go through the loop from the original code to detect collisions. That part is easy. The hard part is throwing in physics. The jump function itself is really quite simple, but trying to figure out all the cases and code them properly has proven to be a pain.

I'm not sure exactly how to move forward, but I just can't seem to figure this out. Some fresh eyes would be great.

v0.02.zip

bitcraft commented 8 years ago

Hi named poster. This issue isn't really related to pyscroll, as it doesn't handle physics. I'd prefer to not discuss it here. If you'd like to chat, you can reach me on IRC #pygame.