Commit 48b2465e by BellCodeEditor

save project

parent be536dd5
Showing with 3 additions and 0 deletions
...@@ -24,6 +24,7 @@ while True: ...@@ -24,6 +24,7 @@ while True:
# 将背景图画上去 # 将背景图画上去
x+=30 x+=30
p.append((x,y)) p.append((x,y))
p.pop(0) p.pop(0)
screen.blit(background, (0, 0)) screen.blit(background, (0, 0))
...@@ -37,3 +38,4 @@ while True: ...@@ -37,3 +38,4 @@ while True:
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
FPSCLOCK.tick(3) FPSCLOCK.tick(3)
\ 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