Commit f4f207d2 by BellCodeEditor

save project

parent 9bb266ae
Showing with 2 additions and 0 deletions
......@@ -118,6 +118,8 @@ while True:
for prop in block_list:
prop.rect.x-=8
screen.blit(prop.image,(prop.rect.x,prop.rect.y))
if pygame.sprite.collide_rect(wukong,prop):
break
if prop.rect.x <= 0-prop.rect.width:
prop.kill()
......
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