- 博客(1)
- 资源 (1)
- 收藏
- 关注
原创 [Pygame]用Pygame做简单有好玩的小游戏系列1:鼠标捉球
我们只差一步就完成了!添加分数!很简单,用render()函数,把他集成show_score()函数def show_score(score) : text = font . render("{0}" . format(score) , True ,(0 , 0 , 0)) # 写文字 screen . blit(text ,(1700 , 10)) # 显示文字。...
2022-08-25 19:09:56 3912 4
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人