We're double checking some sprite collisions. If we have sprite A and sprite B on a canvas, we are checking if A hit B, and then checking if B hit A. I tried deleting half of the loop but then some collisions stopped working. We should be able to delete half of the collision detection code and rephrase some of the conditions to still cover all sprite collision combinations.
We're double checking some sprite collisions. If we have sprite A and sprite B on a canvas, we are checking if A hit B, and then checking if B hit A. I tried deleting half of the loop but then some collisions stopped working. We should be able to delete half of the collision detection code and rephrase some of the conditions to still cover all sprite collision combinations.