Commit 292b6806 by BellCodeEditor

save project

parent a027d84b
Showing with 2 additions and 1 deletions
...@@ -93,7 +93,7 @@ while True: ...@@ -93,7 +93,7 @@ while True:
if sprite.rect.x<= 0-sprite.rect.width: if sprite.rect.x<= 0-sprite.rect.width:
sprite.kill() # 障碍物消失 sprite.kill() # 障碍物消失
# 创建障碍物对象 # 创建障碍物对象
# #if pygame.sprite.collde_rect(wukong,obstacle)
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
FPS.tick(60) FPS.tick(60)
\ 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