2024/1/84 浏览
import pygame
from pygame.locals import *
import random
WIDTH = 700
HEICHT= 458
FPS = 30
pygame.init()
pygame.mixer.init()
screen = pygame.display.set_mode((WIDTH,HEICHT))
pygame.display.set_caption("救赎")
clock = pygame.time.Clock()
test_surface = pygame.image.load('下载.png')
screen.blit(test_surface,(0,0))
pygame.display.flip()
while True:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            exit()
1