The collision between the bullet and the enemy works, but often does not, I do not know why this is. Code for collision:
def collision1(bullx, bully,