pygame简单游戏 飞机大战
importpygame
importrandom
importmath
frompygame.constantsimportTIMER_RESOLUTION
pygame.init()
score_value=0
font=pygame.font.Font('freesansbold.ttf',32)
textX=10
textY=10
defshow_score(x,y):
score=font.render("S...
原创
2021-10-16 09:16:48 ·
1186 阅读 ·
1 评论