Commit c997f3d3 by BellCodeEditor

save project

parent cd50603f
Showing with 1 additions and 1 deletions
......@@ -106,7 +106,7 @@ while True:
screen.blit(prop.image,(prop.rect.x,prop.rect.y))
if prop.rect.x<=0-prop.rect.width:
prop.kill()
if pygame.sprite.collide_rect(wukong,sprite):
if pygame.sprite.collide_rect(wukong,prop):
gameover=pygame.image.load('gameover.png')
screen.blit(gameover,(400,200))
gamestate=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 sign in to comment