Commit 4d4076ba by BellCodeEditor

save project

parent fcec3868
Showing with 5 additions and 1 deletions
......@@ -85,7 +85,11 @@ while True:
lu.y=500-rect.height
aa.rect.x -= 8
for prop in block_list:
prop.rect.x-=8
screen.blit.(prop.image,(prop.rect.x,prop.rect.y))
if prop.rect.x<=0-prop.width:
prop.kill()
screen.blit(aa.image, (aa.rect.x, aa.rect.y))
# 刷新画面
pygame.display.update()
......
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