Undid Don and I's work the sprites would not appear ojn the screen after the reorder

This commit is contained in:
Stephen Deaton 2024-07-17 17:33:27 -04:00
parent 90b736f955
commit 7bd7057bf9
2 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 174 KiB

View File

@ -78,7 +78,7 @@ class Aliens(pygame.sprite.Sprite):
self.move_counter += 1
if abs(self.move_counter) > 75:
self.move_direction *= -1
self.move_counter += self.move_direction
self.move_counter *= self.move_direction
# create sprite groups
spaceship_group = pygame.sprite.Group()