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'
JukJuca 1 year ago
I NEED the algorithm for the collisions please?
AstroNauticAlE 1 year ago
Hey boy may you PM me the algorithm of collision detection in pygame please ?
drek507 1 year ago 2
how did you fire the bullet?
pm the code?
jeffery12108 1 year ago
hehe :)
Souliee 2 years ago
DIE MOTHA FUCKA DIE!
Twinfun2 2 years ago 7
hah, thats pretty awesome.
Evo9119 2 years ago
Thats pretty cool
thegplex 2 years ago
Comment removed
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'
JukJuca 1 year ago
I NEED the algorithm for the collisions please?
AstroNauticAlE 1 year ago
Hey boy may you PM me the algorithm of collision detection in pygame please ?
drek507 1 year ago 2
how did you fire the bullet?
pm the code?
jeffery12108 1 year ago
hehe :)
Souliee 2 years ago
DIE MOTHA FUCKA DIE!
Twinfun2 2 years ago 7
hah, thats pretty awesome.
Evo9119 2 years ago
Thats pretty cool
thegplex 2 years ago
Comment removed
thegplex 2 years ago