Permalink
Browse files

bugs

  • Loading branch information...
1 parent 9b64d0a commit 2e0bb2ea9f87b00f8d5db0e8827b919a9a4943cd michael committed Jun 25, 2012
Showing with 6 additions and 5 deletions.
  1. +1 −0 sources/common_pygame.py
  2. +1 −1 sources/enemy.py
  3. +4 −4 sources/particles.py
View
@@ -5,6 +5,7 @@
clock = pygame.time.Clock()
screen = pygame.display.set_mode((800,600))
+pygame.mouse.set_visible(False)
#pygame.mouse.set_visible(0)
pygame.mixer.set_num_channels(32)
pygame.display.set_caption("MICshooter")
View
@@ -378,7 +378,7 @@ def update(self, ship):
#if self.typeofship==2:
#if we are the first boss, we print the progress bar
if self.typeofship==2:
- hud.updateProgbar(self.life/30,10, 10,400, (255,0,0), 1)
+ hud.updateProgbar(self.life/30,10, 10,400, (255,0,0), 1, self.single_sprites)
View
@@ -11,11 +11,11 @@
#size : 1 : asteroids, 2: ships, 3: boss
def addExplosion ( x, y, size):
if size==1:
- nbParticles = random.randrange(50, 100)
+ nbParticles = random.randrange(50, 70)
if size==2:
- nbParticles = random.randrange(150, 250)
+ nbParticles = random.randrange(150, 180)
if size==3:
- nbParticles = random.randrange(250, 550)
+ nbParticles = random.randrange(200, 300)
particleList=list()
@@ -38,7 +38,7 @@ def addExplosion ( x, y, size):
def determine(k):
(x, y, directionx, directiony, time, size, sprite) = k
- if time > 60:
+ if time > 30:
return False
return True

0 comments on commit 2e0bb2e

Please sign in to comment.