Commit 1fcee4be by BellCodeEditor

save project

parent 975505bb
Showing with 3 additions and 0 deletions
......@@ -20,6 +20,9 @@ while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
exit()
score+=0
pygame.draw.rect(background,(255,0,0),(140,20,20,20),0)
pygame.draw.rect(background,(255,255,255),(140,20,20,20),2)
# 将背景图画上去
screen.blit(background,(0,0))
......
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