This server is intended for use for Academic Classwork related Git repositories only. Projects/repositories will generally be removed after 6 months following close of the semester. Inactive repositories from previous semester are now being archived when no activity for 365 days. They are renamed and marked as 'archived'. After 90 days in that state they will be removed from the system completely.

Commit 23a90bf1 authored by jng2ng's avatar jng2ng

Working files before adding from master

parent b92f45b8
...@@ -387,7 +387,7 @@ class Player(pygame.sprite.Sprite): ...@@ -387,7 +387,7 @@ class Player(pygame.sprite.Sprite):
for block in pygame.sprite.spritecollide(self,self.collisionGroup,False): for block in pygame.sprite.spritecollide(self,self.collisionGroup,False):
if(block.rect.bottom - self.rect.top <= 8 and self.rect.bottom > block.rect.bottom and self.yVelocity < 0): if(block.rect.bottom - self.rect.top <= 8 and self.rect.bottom > block.rect.bottom and self.yVelocity < 0):
self.yVelocity = 0 self.yVelocity = 0
block.dead = powerBlock.BlockState.DEAD #Kill block here if necessary
return True return True
return False return False
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment