标签: python text pygame
如何在PyGame中制作闪烁文本?这是我每隔一秒左右尝试闪现一次的文字:
text = pygame.font.Font("c:/windows/fonts/visitor1.ttf", 50) textsurf, textrect = text_objects("Press Any Key To Start", text) textrect.center = ((res_w / 2), (res_h / 2)) screen.blit(textsurf, textrect)