-- coding: cp936 -- #因为我的Python不支持UTF-8
import pygame, os
pygame.init()
screen = pygame.display.set_mode([680,480])
screen.fill([255, 255, 255])
my_font = pygame.font.SysFont("arias",60)
pygame.display.flip()
def text():
screen.blit(tishi1_text, (10, 10))
def tishi():
tishi1 = "welcome to my skier!easy=1 ordinary=2 diffcote=3"
jingsu = "jingsu:xinsou=a gaosou=b dasi=c"
jixian = "jixian=4"
tishi1_font = pygame.font.Font(None, 30)
tishi1_text = tishi1_font.render(("welcome to my skier!easy=1 ordinary=2 diffcote=3"), 1, (255, 0, 0))
tishi()
#os.system("C:\Users\Administrator\Desktop\python\pygame\skier\skier-easy.py")
running = True
while running:
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False
pygame.quit()