Commit 67f0b6c4 by BellCodeEditor

auto save

parent 625afa2e
Showing with 12 additions and 0 deletions
import pygame
from pygame import locals
pygame.init() # 初始化
# 创建窗口
screen = pygame.display.set_mode((640, 480))
pygame.mixer.music.load('歌曲4.ogg')
pygame.mixer.music.play()
while True:
for event in pygame.event.get():
if event.type ==locals.QUIT:
exit()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment