ITS THAT TIME!!!!!
This commit is contained in:
parent
6c011f11a7
commit
5be6439493
4
Main.py
4
Main.py
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user