Commit db088612 by BellCodeEditor

save project

parent 3a9e53fd
Showing with 7 additions and 0 deletions
...@@ -98,5 +98,11 @@ while True: ...@@ -98,5 +98,11 @@ while True:
if pygame.sprite.collide_rect(wukong,sprite): if pygame.sprite.collide_rect(wukong,sprite):
gameover = pygame.image.load('gameover.png') gameover = pygame.image.load('gameover.png')
screen.blit(gameover,(400,200)) screen.blit(gameover,(400,200))
class Player(pygame.sprite.Sprite):
def __init__(self,image):
super().__init__()
self.image=image
\ No newline at end of file
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 sign in to comment