Collision Pygame
Loading...
3,950
Top Comments
see all
All Comments (10)
-
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...
DIE MOTHA FUCKA DIE!
Twinfun2 2 years ago 7
Hey boy may you PM me the algorithm of collision detection in pygame please ?
drek507 1 year ago 2