Commit 2ea06089 by BellCodeEditor

save project

parent 9cffd2b3
Showing with 1 additions and 0 deletions
......@@ -20,6 +20,7 @@ while True:
if event.type == locals.QUIT:
exit()
screen.blit(background,(0,0)) # 将背景图画上去
pygame.draw.rect(screen,(255,150,255),(120,20,20,20),1)
screen.blit(text,(350,70)) # 得分
pygame.display.update() # 刷新画面
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