Esempio n. 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()
Esempio n. 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()
Esempio n. 3
0
 def hit(self):
     BasicSprite.hit(self)
     Insectoid.hitSound.play()
Esempio n. 4
0
 def hit(self):
     BasicSprite.hit(self)
     Insectoid.hitSound.play()
Esempio n. 5
0
 def hit(self):
     BasicSprite.hit(self)
     DerpBoss.hitSound.play()
Esempio n. 6
0
 def hit(self):
     BasicSprite.hit(self)
     DerpBoss.hitSound.play()