Commit ed5fea1b by BellCodeEditor

auto save

parent 58f57977
Showing with 6 additions and 4 deletions
......@@ -156,10 +156,6 @@ while True:
#如果没有碰到障碍物:也就是跨过障碍物了
else:
if sprite.rect.x + sprite.rect.width < wukong.rect.x:
......@@ -174,6 +170,12 @@ while True:
text = my_font.render("分数:"+str(score),True,(0,0,0))
screen.blit(text,(900,20))
#将前三名渲染到分数的下面
text = my_font.render("第1名:"+str(one),True,(0,0,0))
screen.blit(text,(900,50))
......
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