Commit 95ead31e by BellCodeEditor

save project

parent ed88ceb5
Showing with 0 additions and 2 deletions
...@@ -26,8 +26,6 @@ while True: ...@@ -26,8 +26,6 @@ while True:
# 得分 # 得分
scoret = font.render(str(score), True, (0,0,0)) scoret = font.render(str(score), True, (0,0,0))
screen.blit(scoret, (350, 70)) screen.blit(scoret, (350, 70))
pygame.draw.rect(screen,(255,0,0), (120,40,20,20), 0)
pygame.draw.rect(screen,(255,255,255), (120,40,20,20), 1)
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
clock.tick(FPS) clock.tick(FPS)
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