Commit acef3d97 by BellCodeEditor

save project

parent 675d904a
Showing with 1 additions and 1 deletions
...@@ -97,7 +97,7 @@ while True: ...@@ -97,7 +97,7 @@ while True:
if zhang_ai.rect.x <= 0-zhang_ai.rect.width: if zhang_ai.rect.x <= 0-zhang_ai.rect.width:
zhang_ai = Block(stone,cacti,bush) zhang_ai = Block(stone,cacti,bush)
zhang_ai.rect.x -=8 zhang_ai.rect.x -=8
screen.blit(zhang_ai,(zhang_ai.rect.x,zhang_ai.rect.y)) screen.blit(zhang_ai.image,(zhang_ai.rect.x,zhang_ai.rect.y))
pygame.display.update()#保存 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