Exemple #1
0
 def hit(self):
     if self.canBeHurt:
         BasicSprite.hit(self)
         self.canBeHurt = False
         self.hurtCounter = 40
         self.xspeed = - self.xspeed
         self.yspeed = 0 #random.gauss(-10,2) - self.yspeed
         Player.hurtSound.play()
Exemple #2
0
 def hit(self):
     if self.canBeHurt:
         BasicSprite.hit(self)
         self.canBeHurt = False
         self.hurtCounter = 40
         self.xspeed = -self.xspeed
         self.yspeed = 0  #random.gauss(-10,2) - self.yspeed
         Player.hurtSound.play()
Exemple #3
0
 def hit(self):
     BasicSprite.hit(self)
     Insectoid.hitSound.play()
Exemple #4
0
 def hit(self):
     BasicSprite.hit(self)
     Insectoid.hitSound.play()
Exemple #5
0
 def hit(self):
     BasicSprite.hit(self)
     DerpBoss.hitSound.play()
Exemple #6
0
 def hit(self):
     BasicSprite.hit(self)
     DerpBoss.hitSound.play()