Undid Don and I's work the sprites would not appear ojn the screen after the reorder
This commit is contained in:
parent
90b736f955
commit
7bd7057bf9
Binary file not shown.
Before Width: | Height: | Size: 174 KiB |
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user