for enemy in enemies: for bullet in player_bullets: if pygame.Rect(enemy.hit_box).collidepoint(bullet.x, bullet.y): player_bullets.remove(bullet) enemy.main(display)
enemyx[i] = random.randint(0,670) enemyy[i] = random.randint(50, 150)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)