Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Collision Pygame

Loading...

Sign in or sign up now!
3,950
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 3, 2008

I love Python and Pygame :)

Category:

Gaming

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Top Comments

  • DIE MOTHA FUCKA DIE!

  • Hey boy may you PM me the algorithm of collision detection in pygame please ?

see all

All Comments (10)

Sign In or Sign Up now to post a comment!
  • I solved the collision problem using vectors, see if that helps.

    exampled:

    def collision(point_1, point_2): distance= ((point_1[0] - point_2[0])**2 + (point_1[1] - point_2[1])**2)**5 if distance < (minimum distance between objects, from where they won't collide): return 'yes' else: return 'no'

  • I NEED the algorithm for the collisions please?

  • how did you fire the bullet?

    pm the code?

  • hehe :)

  • hah, thats pretty awesome.

  • Thats pretty cool

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more