Commit 6b103b31 by BellCodeEditor

save project

parent bfa07e97
Showing with 4 additions and 1 deletions
......@@ -22,7 +22,10 @@ while True:
exit()
# 将背景图画上去
screen.bilt(background,(0,0))
screen. bilt(background,(0,0))
# 绘制小方块
pygame.draw.rect(screen,(255,0,0),(120,20,20,20),0)
pygame.draw.rect(screen,(255,255,255),(120,20,20,20),1) NN
# 得分
score_test = font.rendr(str(score)),true,(0,0,0)
sereen.bilt(score_test,(350,70))
......
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