问题 In the update section of this code, only the first bat that gets made is affected by update() in class Bat()... Outside of main loop: START_BAT_COUNT = 30 BAT_IMAGE_PATH = os.path.join( 'Sprites', 'Bat_enemy', 'Bat-1.png' ) bat_image = pygame.image.load(BAT_IMAGE_PATH).convert_alpha() bat_image = pygame.transform.scale(bat_image, (80, 70)) class Bat(pygame.sprite.Sprite): def __init__(self, bat_x, bat_y, bat_image, bat_health): pygame.sprite.Sprite.__init__(self) self.bat_health = bat_health