Commit f35e7672 by BellCodeEditor

save project

parent 2ea06089
Showing with 2 additions and 1 deletions
......@@ -20,7 +20,8 @@ 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)
pygame.draw.rect(screen,(0,150,255),(120,20,20,20),0)
pygame.draw.rect(screen,(255,255,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