ITS THAT TIME!!!!!

This commit is contained in:
EggMan 2024-04-29 16:29:36 -04:00
parent 6c011f11a7
commit 5be6439493
2 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@ class Alien(arcade.Sprite):
if movedown:
self.center_y -= 8 * self.scScale
if x:
self.center_x += 2*self.scScale*sign
self.center_x += 2 * self.scScale * sign
self.alien_sprite.center_x = self.center_x
self.alien_sprite.center_y = self.center_y

View File

@ -76,7 +76,7 @@ class MyGame(arcade.Window):
self.wall_list = arcade.SpriteList(use_spatial_hash=True)
self.rend = 0
self.lives = 3
self.level = 50
self.level = 0
self.score = None
# self.overlay_color = (0,255,0,128)
self.player_sprite_death = None
@ -271,7 +271,7 @@ class MyGame(arcade.Window):
for index, alien in enumerate(alienx):
try:
alien.checkBullet()
if indexx == testx and index == testy:
if indexx == testx and index == testy and alien.bullet == None:
alien.spawnBullet()
except Exception as e:
pass